[DUG] Find the currently executing source line
Steve Peacocke
steve.peacocke at gmail.com
Fri Jul 13 16:05:08 NZST 2007
Good afternoon All,
I'm trying to do something rather unusual here with Delphi. Instead of
tracing code one step at a time, I want to pause the code when I see
that a certain error has occurred and ask delphi to show me the source
line that its currently executing. The program is still running in the
background, so I press pause. It then always loads the CPU window
(meaning absolutely nothing to me) and when i try to "trace until the
next source line", it comes up with the following error...
---------------------------
Debugger Exception Notification
---------------------------
Project <myname>.exe raised exception class EPrivilege with message
'Privileged instruction'.
---------------------------
Break Continue Help
---------------------------
Break stops at that same line in the CPU window, Continue shows the
error in a message box; and help, well I haven't tried that but my
guess is that it doesn't, help that is.
Can anyone help with how I can see what actual source code line the
application is processing?
Thanks. Steve
--
Steve Peacocke
http://stevepeacocke.blogspot.com/
More information about the Delphi
mailing list