Link to home
Start Free TrialLog in
Avatar of Dr_Debdarsan_Niyogi
Dr_Debdarsan_Niyogi

asked on

how to use madExcept

Please provide an example program and instructions for integrating madExcept in the Delphi 2005 application, such that when the exe is deployed at some remote environment (which I don't have access to), I can obtain full stack information from the loading of the appliaction till it crashes.
Avatar of Lukasz Zielinski
Lukasz Zielinski
Flag of Poland image

see here:
http://help.madshi.net/HowToUseMadExcept.htm

ziolko

p.s. i wish madshi was still with us here, great expert
Avatar of Dr_Debdarsan_Niyogi
Dr_Debdarsan_Niyogi

ASKER

I had gone through that, still not sure, how to hook it.... please help. Thanks.
install the compontents, you will get new Items in ithe delphi IDE.

Drop the madshi component on your application.
Once your aplication  has  an access arror, madshi will become active

I like it very much, it helped already a lot in my application development
from what i remember madExcept also adds some items in delphi IDE so you can configure many options (I think madExcept shows in tools and project menu, but not sure)

ziolko.
THATs CORRECT,

you may check for frozen threats, I always had to deactivate this features as my algorithms are quite long, also checking code with TCP (Indy)   i deactivated this to avoid wrong alarm with Madexcept
THATs CORRECT,

you may check for frozen threats, I always had to deactivate this features as my algorithms are quite long, also checking code with TCP (Indy)   i deactivated this to avoid wrong alarm with Madexcept
Dooes it have the ability to prevent a Delphi program from hanging? I, mean, can it prevent crashing of application? I have a code, which gives "Insufficient memory" and the application freezes. user has to reboot or kill it from the Task manager. Will madExcept help in this scenario?
will it prevent from hanging or freezeing? no madExcept is not preventing it's  catching all unhandled exceptions and creates special report for you what and where went wrong, but it will not prevent your app from let's say going into loop that never ends or consuming huge amounts of memory which may lead to crash.


ziolko.
Hi ziolko,
many thanks.. let me repeat my actual question once again... I have a code, which gives "Insufficient memory" and the application freezes. user has to reboot or kill it from the Task manager. Will madExcept produce a report in this scenario?
ASKER CERTIFIED SOLUTION
Avatar of BdLm
BdLm
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How much memory is the application using at the time it's being killed ?
Maybe it has memory leaks ?

my first comment on EE ... edited !