Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi: Application error logging in the field

Using Delphi 7, I wonder if there is a free component which will collect diagnostic information as my application runs at a remote site and will help me to debug error reports.

Maybe it records each menu item selected, control clicked, text input, etc? Maybe it just dumps the stack on a crash. Maybe it does something else ...

I don't mind adding code (e.g at the start and end of each procedure), as that might generate more useful info than a fully automatic system.

I am not sure if the solution ought to "phone home" or if it is enough to produce a text file which can be emailed to me.

Any suggestions?

like image 342
Mawg says reinstate Monica Avatar asked May 27 '10 03:05

Mawg says reinstate Monica


1 Answers

with the crash debuging have a look at MadExcept
http://www.madshi.net/madExceptDescription.htm

madExcept was built to help you locating crashes in your software. Whenever there's a crash/exception in your program, madExcept will automatically catch it, analyze it, collect lots of useful information, and give the end user the possibility to send you a full bug report.

free for non-commercial usage, inexpensive for commercial usage

or JclDebug from the JEDI Code Library

http://www.delphi-jedi.org/

A Blog Posting about it can be found here http://www.gnegg.ch/2002/12/jcldebug/

EDIT: This seems to be a very good example on how to use JCLDebug http://robstechcorner.blogspot.com/2009/04/finding-hard-to-reproduce-errors.html

like image 168
Christopher Chase Avatar answered Sep 20 '22 11:09

Christopher Chase