This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Setting breakpoint problem

I have problem in setting break point in the source level. I click on a C statement but nothing happens.

I can load the *.c and the line is correctly turn gray for valid C statement. Single step in C is OK. Weird point is that I got "Show disassembly at xxxx" when I right click the line. Anyway, I can see the red dot on source line if I set break point on coresponding assembly. I suspect that the linkage between source and asm is ok.

The code is compiled using a older version of GNU which support DWARF2.0. My linker script has same debug DWARF section as c:\keil\ samples.

Any idea is highly appreciated.