madExcept will do the job
check it out here
http://www.madshi.net/
Main Topics
Browse All TopicsSometimes the application got an external access violation error, the error message contains an address. So is it possible to use the address information and determine where the error is, like which procedure or even which command statement causes this error?
An typical error msg could be like this:
Access violation at address 0047BECF in module 'XXXX.exe'. Read of address 00000000.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
madExcept will do the job
check it out here
http://www.madshi.net/
...and the Jedi Code Library http://jcl.sf.net
If you are running the app in debug mode (i.e. from the Delphi IDE) then as soon as the error occurs, note down the address. Then in Delphi click on the "Search" menu and select "Find error". this will take you to the right address/source code. This is for Delphi 7 (don't know if previous versions allow for this...)
Here's a similar question:
http://www.experts-exchang
Basically, you have to create a Detailed map file when you compile the app (Projects, Options, Linker tab, Detailed map file option). When you get an error, you have to deduct the Image Base (Normally $400000) and Code base (normally $1000) from the error address, find it in your map file which will tell you the line number where the error occured. Refer to above link for more info.
Regards
Pierre
Business Accounts
Answer for Membership
by: Imthiyaz_phPosted on 2005-02-23 at 20:52:46ID: 13389764
you could check the stack in Delphi as soon as the exception occurs. To view the stack, either press Ctrl+Alt+S or View -> Debug Windows -> Call Stack. The first item in the stack is the last executed procedure.