Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Debugging made easier

(1/2) > >>

MortenMacFly:
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:

oBFusCATed:

--- Quote from: MortenMacFly on August 18, 2010, 05:05:01 pm ---... and don't make money out of it... GPL3 you know...! ;-) :lol:

--- End quote ---
GPL, do not forbid making money, just forbids binary only distribution! :)

ollydbg:
This is a very nice tool. (I missed this post, and luckily I find it now :D)

MortenMacFly:

--- Quote from: ollydbg on September 16, 2010, 01:53:53 pm ---This is a very nice tool. (I missed this post, and luckily I find it now :D)

--- End quote ---
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...).

Loaden:
Well done!
Thanks for sharing! :D

Navigation

[0] Message Index

[#] Next page

Go to full version