VisualGDB-Debugger: Custom Working-Directory

Sysprogs forums Forums VisualGDB VisualGDB-Debugger: Custom Working-Directory

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27265
    Elram Ashush
    Participant

    Hi,

    I have a problem with the debugger:

    I want to define to the debugger a different path to execute the my application.

    In  the “Debug Settings” I defined 3 fields different from the default:

    1.  Debug mode: New Instance
    2. Debugged executable: I put there an absolute path that is different from the $(OutDir) path, that I defined in the VS-Project-Properties.
    3. Custom Working Directory: I put the same path as in “Debugged executable” (of course, without the name of the executable-file)

    When I debug, I get Error: that it can find the executable-file, and that it searching the file in the $(OutDir) path,

    I’ll comment that the executable-file really don’t exist in the $(OutDir), but why the debugger search there, instead of searching in my custom path  (that I put in “Debugged executable”)

    Thanks’

    Elram.

     

    #27270
    support
    Keymaster

    Hi,

    Based on the description you provided, everything should work. Hence the problem is likely caused by some small detail that was omitted from the description. Please share the screenshots of all the relevant settings (including the exact error message you get) and we will help you understand what is going on. If you do not wish to post them publicly, please consider sending them via our support form instead.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.