Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on August 18, 2010, 05:05:01 pm
-
Hi all,
for my own needs I developed a tiny UI for the addr2line tool to analyse crash reports as they are produced by applications like Code::Blocks (using the exchndl.dll). It scans the created report ("*.rpt") and resolves all adresses possible using all crash logs available in this very file (there might be multiple crashes appended after each other). I attach the sources to this post for convenience and probably to help debugging C::B.
Notice: For this to work you'll need to have your application compiled with debug symbols. However, for the case you are running a stripped version, but have the version with debug symbols as reference I allow to replace the path accordingly.
In my case I need to replace "C:\Devel\CodeBlocks\" with "C:\Devel\CodeBlocks\src\devel\", as in the latter there is the compiled version of C::B with debug symbols
It maybe of use for other devs, too.
Note: This is WINDOWS ONLY. Under Linux, the crash log looks different (a XML file) feel free to enhance this as you like, but don't forget to post the modifications here and don't make money out of it... GPL3 you know...! ;-) :lol:
-
... and don't make money out of it... GPL3 you know...! ;-) :lol:
GPL, do not forbid making money, just forbids binary only distribution! :)
-
This is a very nice tool. (I missed this post, and luckily I find it now :D)
-
This is a very nice tool. (I missed this post, and luckily I find it now :D)
It has a tiny bug when restoring the settings though... This and That are either not correctly restored or saved (I don't recall ATM...).
-
Well done!
Thanks for sharing! :D
-
Cool tool. And a real time saver.
Thanks