You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
$ gdb --version
GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
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:
Activity
plowsters commentedon Jul 7, 2024
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:
plowsters commentedon Jul 7, 2024
Additionally, these are the build tasks I wrote in tasks.json:
And here is the CMakeLists.txt used to build it:
GitMensch commentedon Jul 8, 2024
plowsters commentedon Jul 8, 2024
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.