Debugging problem

Giganews Newsgroups
Subject:Debugging problem
Posted by: Ralph Gottschalg
Date:Sat, 31 Jul 2010

Hello,

simple problem but I am stumped:

when trying to debug, I seem to be in an endless loop. Ok, I am trying in the debugging mode to stop the code (pressing pause button) - but I cannot find where I am in the code. Simplest solution I thought would be stepping to the next line and then Delphi (2010 Professional) should move into focus. Unfortunately I am stuck in the CPU window and never come anywhere where I can identify where I am.

The frustrating thing is that it is an intermittent problem that only occurs after 10, 20 or 100 runs of this particular piece of code, and thus setting breakpoints is near impossible.

Does anybody have an idea how to figure out where I am in the code once I force a pause and end up in the debugger mode?

Many thanks for any hints,

Ralph

Replies