Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you disable the CPU window in Delphi 7

When stepping a program in Delphi 7, the CPU window sometimes pops up and then steps through that instructions. I find this an annoyance as I wish to only step Pascal Code.

Does anyone know how to disable this CPU pop-up?

I would not be sorry if this window never ever shows.

It did not happen on Delphi 5 which was my previous IDE that I used for Delphi. I do use the Step-Over button mostly and only step-into when wanting to get into detail of a used (pascal) unit.

like image 949
Johan Bresler Avatar asked Oct 07 '08 11:10

Johan Bresler


2 Answers

In RAD studio 2009, you can got to Tools->Options->Debugger Options->Codegear Debuggers. In General, select Ignore non-user breakpoints.

like image 87
Seth Avatar answered Oct 05 '22 01:10

Seth


Delphi does not, by default, step into the CPU window. So the answer to your question is not that it can not be done. Maybe the question should be: What did I do that causes this.

EDIT:
From the comments I understand that it happens when you press pause to break in the debugger.
It is not strange that it stops on the exact place where it was executing when you hit pause.
This could very well be in some Windows code for which you do not have the source.
By choosing Run -> Run to Next Source Line or Shift-F7 your program will execute a bit further until it hits some code for which it does have source code.

This is the answer to your problem, but remember that you could have breaked in a spot where you never reach a next source line.

like image 21
Lars Truijens Avatar answered Oct 05 '22 01:10

Lars Truijens