-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
My breakpoints are completely ignored #420
Comments
I had the same issue on VSCodium 1.90.2, and I got it to work. CMake successfully builds the executable, but gdb ignores all breakpoints. Fixed with this launch.json configuration:
|
Additionally, these are the build tasks I wrote in tasks.json:
And here is the CMakeLists.txt used to build it:
|
... So what was the part in launch config that actually fixed it?
|
I was originally trying to launch it in the VSCodium terminal using
Removing this line fixed the issue for me, and it loads in VSCodium by default anyways. |
When i configure the GDB debug in launch.json and add a pre task to compile it, all it does is launch the binary. Doesnt even attempt at debugging it, does not acknowledge that any breakpoints exist.
I am using VSCodium 1.87.2
The text was updated successfully, but these errors were encountered: