How do you disable the CPU window in Delphi 7

杀马特。学长 韩版系。学妹 提交于 2019-12-03 10:41:16
Lars Truijens

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.

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

it seems that i resolved it: added to the registry: HKCU\Software\Borland|Delphi\7.0\Debugging: EnableCPU (stringvalue):0

Milan

Modify the following registry key:

HKEY_CURRENT_USER/software/Borland/Delphi/6.0/Debugging/Integrated Debugging = 0

You fall into the CPU-Window when there are no Debug-Informations for the current Unit.

Try to enable the Debug-DCU's (in Project/Options.../Compiler). If you haven't checked the other debug options, activate them also.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!