Re: Strange problem with debugging a multithreaded application




"Marios Titas" <ggeeoo@xxxxx> wrote in message
news:e04j95$6p6$1@xxxxxxxxxxxxxxxxxxxx
I have encountered this problem with all versions of Delphi starting
from 5 up to 2006, in three different computers. When I set a breakpoint
in a source line executed by a thread other than the main one then when
the execution point comes to that breakpoint and just before delphi's
ide get the focus, the system starts functioning extremely slow. By
extremely slow I mean that e.g. if I hit alt+ctrl+del then it might take
even 1 hour for the task manager to show up. The only think I can do is
to press the power button initiating this way the shutdown process which
oddly enough proceeds at almost normal speed. So has anyone else
encountered the same problem and most important is anyone aware of a
solution?

I think I have seen this problem. However it might not be related to multi
threading at all... but just to the debugger itself. I have seen this
temporarely freezing with single threaded applications as well.

Only solution I know of is to patiently wait until it de-freezes :) or try
pressing F2 to abort debugging and then wait and if that dont help continue
running again by pressing the run button. It doesn't always work but
sometimes I have the idea that it helps ;)

Bye,
Skybuck.


.


Loading