Solved

How to debug or understand an access violation error?

Posted on 2001-07-22
4
1,617 Views
Last Modified: 2012-08-13
Any idea of how actually to debug or understand an access violation error?  If I got an access violation such as "Access violation at address 004396CB in module 'IVY.exe' at address 3A20708E. Please guide !
0
Comment
Question by:ivylnm
4 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 50 total points
ID: 6307139
When you see access violation thingy, go back to Delphi IDE (without terminating your app), click on the Search menu, and choose Find Error.

Enter the address with the error, and Delphi will attempt to locate the line number for you.

You should also check out Madshi's nice components at www.madshi.net, it has a nice exception handler package (madExcept)... 'nuff said :)
0
 
LVL 17

Expert Comment

by:inthe
ID: 6307338
>>Enter the address with the error

& dont forget to add a $ in front of address ;-)
0
 
LVL 20

Expert Comment

by:Madshi
ID: 6307403
Hi guys!

Thanx, DragonSlayer!   :-)

BTW, in a day or two there will be madExcept 2.0 with lots of new features...

Regards, Madshi.
0
 
LVL 1

Expert Comment

by:hobiecat16
ID: 6307602
jclDebug is also excellent for this type of problems, and provides stack dumping (=>> call list before the "crash"), etc.

www.delphi-jedi.org if i remember
it's freeware
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question