User forums > Embedded development

CodeBlocks and Codesourcery GDB

<< < (2/8) > >>

oBFusCATed:
Does setting breakpoints on the fly (while the debuggee/inferior is running) work?

Lost_Byte:

--- Quote from: oBFusCATed on March 16, 2012, 08:47:44 am ---Does setting breakpoints on the fly (while the debuggee/inferior is running) work?

--- End quote ---

Oh... I hope, understood the question correctly ...
I can set breakpoint while debuggee/inferior is running, and "red point" appears on source view. But this takes effect (debugged process stops at breakpoint) only after sending SIGINT to the process.
And I have the same behavior on others gdb such as builded from scratch or provided by SoC/mC manufacturers.

oBFusCATed:
If I understand you answer correctly it doesn't work out of the box?
The other test you can do is to press the pause button, while the debuggee is running.
If this works then the breakpoints should work, too.

Lost_Byte:

--- Quote from: oBFusCATed on March 16, 2012, 10:01:42 am ---The other test you can do is to press the pause button, while the debuggee is running.

--- End quote ---

No, it does not work.

oBFusCATed:
Can you give detailed explanation how to fix the problem?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version