Solved

How to debug or understand an access violation error?

Posted on 2001-07-22
4
1,619 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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