User forums > General (but related to Code::Blocks)
Is there a plugin which can find line number from crash address in c::b?
(1/1)
huzhongshan:
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.
MortenMacFly:
...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.
huzhongshan:
any binary distributions? Cannot compile the source because lack of wxwidgets knowledge.
Manolo:
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 is what you are asking for.
Regards
Manolo
Navigation
[0] Message Index
Go to full version