TonyJix
asked on
Origin of Access Violation
Hello,
I have this bug in my software that only happens once in a while. It's very hard to figure out where it is from.
Anyway, it pops up an Access Violation message that pauses my program.
Is there anyway to find out the cause of the Access Violation?
Greetings.
I have this bug in my software that only happens once in a while. It's very hard to figure out where it is from.
Anyway, it pops up an Access Violation message that pauses my program.
Is there anyway to find out the cause of the Access Violation?
Greetings.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It's not possible to run this app inside Delphi and get the same error... So unfortunately I have to do without that..
Is it not possible to intercept access violation and get info on the source code line
Is it not possible to intercept access violation and get info on the source code line
yes, use Eurekalog
ASKER
nice app...
For example if you put something in your forms OnCreate event handler and tell it to do something on a form that hasn't been created yet, you should get an Access Violation.
What kind of information is it giving you when you get the access violation? Do you get it when you are running and debugging in delphi, or without delphi?
If in Delphi, if you 'break', where does it take you to in your sourcecode. That might give you some clues.