开发者

codeblocks debugging

For some reason I can no longer debug in codeblocks. Breakpoints are ignored and exceptions are not caught. I'm pretty sure it was work开发者_运维技巧ing before on this machine, but I have to confess that since I work on multiple machines I might be confused on that matter.

I'm running Kubuntu 11.04 and codeblocks 10.05. Under Build Options "Produce debugging symbols [-g]" is checked (for both debug and release builds) and "Strip all symbols from binary" is not checked. But every time I run the debugger I get the message "(no debugging symbols found)" which I suspect is at the heart of the problem.

Any suggestions would be greatly appreciated.


At middle 2013 i was using Codeblocks 10.05 with GDB 7.5.1 in Debian Wheezy (7.0), and faced the same problem, breakpoints ignored and when and exception was thrown (even if it was caught) the process stops working.

Suspecting of a GDB bug I downloaded the GDB version 7.6 sources and compiled it. The same behaviour was observed.

Finaly I downloaded the CodeBlocks version 12.11, and that fixed the problem. It seems that the CodeBlocks version 10.05 was the key of the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜