Thats because you have paused in the middle of those dlls. If you have
debugging enable din your source, then I would expect F8 to stop in your
code.
Steve Peacocke wrote:
OK, there are two Stack windows.
1. The CPU Stack contains a list of two columns of 4 hex numbers, and
a column of for characters. Not a lot to make sense in there.
2. The Call stack shows a DLL and the kernal32.dll. Steping though
those, it changes. For example, I now have two QUARTZ.dll files and
the kernal32.dll
Anyone make sense of that?
Steve
On 13/07/07, Conor Boyd <[EMAIL PROTECTED]> wrote:
At the very least, you should be able to look at the Stack Trace window,
and look down the stack until you find some of your own code.
Once you find the "top" of your own code, then you should be able to
work out where you want to put your breakpoint.
HTH,
Conor
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Steve Peacocke
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?
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with
Subject: unsubscribe
--
*Rohit Gupta*
* B.E. Elec. M.E. Mem IEEE Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
**
*Tel* +64 9 4892280
*Fax* +64 9 4892290
*Email [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>**
*Web *www.cfl.co.nz <http://www.cfl.co.nz/>
------------------------------------------------------------------------
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you
are not the intended recipient, you must not use, distribute or copy
this email or attachments. If you have received this in error, please
notify us immediately by return email and then delete this email and any
attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe