<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<br>
Steve Peacocke wrote:
<blockquote
cite="mid:f1657d310707122132v748482d3x758c4fa93732a03@mail.gmail.com"
type="cite">OK, there are two Stack windows.
<br>
<br>
1. The CPU Stack contains a list of two columns of 4 hex numbers, and
<br>
a column of for characters. Not a lot to make sense in there.
<br>
<br>
2. The Call stack shows a DLL and the kernal32.dll. Steping though
<br>
those, it changes. For example, I now have two QUARTZ.dll files and
<br>
the kernal32.dll
<br>
<br>
Anyone make sense of that?
<br>
<br>
Steve
<br>
<br>
On 13/07/07, Conor Boyd <a class="moz-txt-link-rfc2396E" href="mailto:Conor.Boyd@trimble.co.nz"><Conor.Boyd@trimble.co.nz></a> wrote:
<br>
<blockquote type="cite">At the very least, you should be able to look
at the Stack Trace window,
<br>
and look down the stack until you find some of your own code.
<br>
<br>
Once you find the "top" of your own code, then you should be able to
<br>
work out where you want to put your breakpoint.
<br>
<br>
HTH,
<br>
<br>
Conor
<br>
<br>
-----Original Message-----
<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a>
[<a class="moz-txt-link-freetext" href="mailto:delphi-bounces@delphi.org.nz">mailto:delphi-bounces@delphi.org.nz</a>]
<br>
On Behalf Of Steve Peacocke
<br>
<br>
Good afternoon All,
<br>
<br>
I'm trying to do something rather unusual here with Delphi. Instead of
<br>
tracing code one step at a time, I want to pause the code when I see
<br>
that a certain error has occurred and ask delphi to show me the source
<br>
line that its currently executing. The program is still running in the
<br>
background, so I press pause. It then always loads the CPU window
<br>
(meaning absolutely nothing to me) and when i try to "trace until the
<br>
next source line", it comes up with the following error...
<br>
<br>
---------------------------
<br>
Debugger Exception Notification
<br>
---------------------------
<br>
Project <myname>.exe raised exception class EPrivilege with
message
<br>
'Privileged instruction'.
<br>
---------------------------
<br>
Break Continue Help
<br>
---------------------------
<br>
<br>
Break stops at that same line in the CPU window, Continue shows the
<br>
error in a message box; and help, well I haven't tried that but my
guess
<br>
is that it doesn't, help that is.
<br>
<br>
Can anyone help with how I can see what actual source code line the
<br>
application is processing?
<br>
<br>
_______________________________________________
<br>
NZ Borland Developers Group - Delphi mailing list
<br>
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
<br>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
<br>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with
Subject: unsubscribe
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Signature</title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2802" name="GENERATOR">
<div align="left">
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">Rohit Gupta</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">
B.E. Elec. M.E. Mem IEEE
Associate IEE</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">Technical Manager</font></font></strong></div>
<div align="left"><strong><font color="#666666" face="Verdana" size="2">Computer
Fanatics Limited</font></strong></div>
<div align="left"><strong></strong> </div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Tel</strong>
+64 9 4892280</font></div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Fax</strong>
+64 9 4892290</font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Email
</strong></font><a href="mailto:rohit@cfl.co.nz"><font color="#0080ff"
face="Verdana" size="2">rohit@cfl.co.nz</font></a></font><font
color="#666666"><font face="Verdana" size="2"><strong></strong></font></font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Web
</strong></font><a href="http://www.cfl.co.nz/"><font color="#0080ff"
face="Verdana" size="2">www.cfl.co.nz</font></a></font></div>
<div> </div>
<div>
<hr></div>
<div align="left"><span
style="font-size: 7.5pt; color: rgb(153, 153, 153); font-family: Verdana;"><font
size="1"><span style="font-size: 10pt; font-family: 'Courier New';"
lang="EN-NZ"><font color="#000000"><font color="#808080" face="Verdana"
size="1">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.</font> <o:p></o:p></font></span></font></span></div>
</div>
</div>
</body>
</html>