CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: debug directory

  1. #1
    Join Date
    Jul 2003
    Posts
    79

    debug directory

    In my program files are written to the ...\<project name>\Debug directory. The files should be displayed in a list to let the user pick a file in the list. It works fine when I run the program by clicking on it in the Debug directory but when I step through the program the files in the Debug directory is not listed. Instead the files in the directory above is listed. I have checked the "Executable for debug session" path under Project->Settings and it looks OK.
    That is ...\<project name>\Debug\gsdoc_b1.exe.
    Is there any other paths I can check? Or any other idea of what is wrong?

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150
    Set the working directory in your debug-configuration option.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  3. #3
    Join Date
    Jul 2003
    Posts
    79
    Thanks for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured