-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cwd not work correctly #329
Comments
I notice (from #330) that you are using a very old version of GDB - 7.6. A number of bugs related to path mapping has been fixed in GDB since then. Do you rely on such an old version of GDB? Can you use a more recent version? |
Hi @jonahgraham |
This is weird - I will try to spin this up on a Windows machine when I get a chance. Does GDB itself work outside of the adapter. i.e. can you start I'm not sure what cwd setting has to do with the error since absolute paths are being passed to break insert:
|
Hi @jonahgraham |
Can you do |
Hi @jonahgraham |
Sorry that I didn't work out what was happening sooner, the issue you are seeing is a combination of the relocated directory and the compilation paths used (the You are building from the Alternatively (and arguably a better solution) is to substitute the paths with a command like:
That command can be added to |
Hi @jonahgraham |
I think that cwd is working as expected, I am therefore closing this issue. |
my project link as follow , it is a simple c++ project
cpp-debug-workspace.zip
The text was updated successfully, but these errors were encountered: