breakpoints not working from IDE [message #1841472] |
Tue, 18 May 2021 09:04 |
Luca Tavanti Messages: 1 Registered: May 2021 |
Junior Member |
|
|
Hi everyone,
Since a few days I'm facing a problem with breakpoints that I am not able to solve.
I'm using Eclipse IDE for Embedded C/C++ Developers, Version: 2021-03 (4.19.0), on a Debian 10 installation.
I've successfully built and loaded a hello world program for an ARM device.
Debugging is based on OpenOCD and GDB.
The problem is that any operation on breakpoints I make via the IDE does not seem to be "sent" to gdb. Breakpoints appear as blue dots in the editor (with no check mark) and in the Breakpoint view, but gdb seems to know nothing of that. It looks like the "commands" are not even issued to gdb. Indeed, looking at the gdb traces console, no command appears when e.g. setting a breakpoint on the editor.
However, if I set the breakpoints via the Debugger Console, they works (and I can see the command in the gdb traces console). And, if I run, the program indeed stops at the breakpoints and Eclipse can show all the various info and can step to next instructions.
Debugging via the command line works fine too.
So the problem seems confined to the communication between Eclipse IDE (editor?) and gdb about the breakpoints, but I wasn't able to go further than that.
Any suggestions to solve this problem?
Luca
|
|
|
|
Powered by
FUDForum. Page generated in 0.02583 seconds