-
Notifications
You must be signed in to change notification settings - Fork 245
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
Path expansion seems broken in c1.13.0-pre1 for executable path #1075
Comments
We don't expand the paths. VSCode does. However, gdb does not handle Windows paths so we have to convert what gdb sees into forward slashed path names. Missed massaging the executable when we changed how the executable is given to gdb. I will have an updated build that works on windows tomorrow. |
Can you try out the following latest release? |
Fixed! Thanks :) |
Thanks for checking it out. Sorry to say but more changes are coming that can affect how programs and symbols are loaded because of #1007 There are far too many customizations to keep everything straight. |
Another example is when using
... which results in ...
I was previously using |
We don't edit/touch the pre/post/override commands. This is because it can contain ANYTHING and it could be meant for gdb or for openocd/jlink/pyocd/stlink/etc. You have to use the appropriate number of backslashes and quotes to make it through VSCode and what ever the destination is. For instance, I would do (double check please). Note that gdb does not understand backslashes in most instances. Workaround is to use relative paths and use forward slashes.
Also, if you use add symbols (instead of |
Describe the bug
Moving from v1.12.1 to v1.13.0-pre1, the extension no longer "works". Without touching launch.json between versions, it now fails to launch gdb - and the cause seems to be path expansion. My suspicion is this is a Windows-only failure (due to the way paths work in Windows).
To Reproduce
Steps to reproduce the behavior:
${workspaceFolder}
variable as part of the executable pathExpected behavior
Ignoring any other pre-release issues, this should launch GDB with the specified executable.
Screenshots
Environment (please complete the following information):
launch.json
Debug Console
See attached.
The text was updated successfully, but these errors were encountered: