Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on March 05, 2011, 12:09:21 pm
-
I debug a dll with -O2 -g compiled , it crashed. I can get the crash address . Is there any plugin ( addr2line UI ) to find the line number .
BTW I find that although I add -g , but I cannot find the line number by using addr2line.
-
...searching the forum for "addr2line UI" would have revealed this:
http://forums.codeblocks.org/index.php/topic,13129.0.html
Please respect our forum rules and search before you post.
-
any binary distributions? Cannot compile the source because lack of wxwidgets knowledge.
-
The way I do:
Instead of "run" your app, "start" it (debugger menu). When app crash, the debugger (I use gdb) breaks and show some error (like a non desired signal). Don't pulse any stop-button. Open the "call stack debugging window" and there you can see where it crashed.
If you use MinGW, perhaps this http://code.google.com/p/jrfonseca/wiki/DrMingw (http://code.google.com/p/jrfonseca/wiki/DrMingw) is what you are asking for.
Regards
Manolo