?
Solved

How to debug or understand an access violation error?

Posted on 2001-07-22
4
Medium Priority
?
1,639 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

807 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