microsoft / microsoft/vscode-cpptools
[Linux] C++ gdb debugging - breakpoints don't work
@WardenGnaw ci sta già lavorando.
Dal 18/5/2020.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
Type: Debugger
Hello everyone,
I can't get the gdb debugger to run in my c++ makefile project. vscode does not stop at breakpoints. The program just runs through. If I build a single cpp file without makefile everything works. A plain C project with makefile also works. I also tried to copy all *.o. *.cpp and *.h files into the bin directory. Unfortunately this doesn't help either. Can you please help me.
Version: 1.44.2
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-23T19:32:05.786Z
Electron: 7.1.14
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.39-1-MANJARO
C/C++ Extension Version: 0.28.0 / Downgrading to 0.27.1 or 0.27.0 does not solve the problem.
Other extensions: C/C++ Project Generator / C/C++ Snippets Pro / PlatformIO IDE / Python / systemd-unit-file / Disabling them does not solve the problem.
The sample project is located here
https://github.com/axel-dd/cpptest
debug logs are here
https://github.com/axel-dd/cpptest/blob/master/debug.txt
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.