简体   繁体   English

停止异常 Delphi 10.1

[英]Stop on exception Delphi 10.1

I have recently moved from Delphi 7 to 10.1 Berlin.我最近从 Delphi 7 搬到了柏林 10.1。

I am used to being shown the line where an exception is raised in Delphi7 but the new IDE doesn't seem to work the same.我习惯于被显示在 Delphi7 中引发异常的行,但新的 IDE 似乎工作不一样。 I am just getting the exception notification followed by termination of my application when I close the exception box.当我关闭异常框时,我只是收到异常通知,然后是我的应用程序终止。

I have searched the options for a 'Stop on exception' checkbox (like Delphi 7) but cannot find it.我已经搜索了“异常停止”复选框(如 Delphi 7)的选项,但找不到它。

This is a fire monkey application by the way顺便说一句,这是一个火猴应用程序

Peter彼得

If you are referring to the option called Stop on Delphi Exceptions within Delphi 7, its current equivalent is called Notify on Language Exceptions and is located via Tools > Options > Debugger Options > Embarcadero Debuggers > Language Exceptions .如果您指的是 Delphi 7 中的Delphi 异常上的 Stop选项,则其当前等效项称为Notify on Language Exceptions ,位于Tools > Options > Debugger Options > Embarcadero Debuggers > Language Exceptions

工具 > 选项 > 调试器选项 > Embarcadero 调试器 > 语言异常

Futhermore, I found this related question .此外,我发现了这个相关的问题

I have Notify on Language Exceptions checked and the debugger still does not stop at the line that caused the exception, I just end up in one of the code units with a bunch of hex values showing.我检查了关于语言异常的通知,调试器仍然没有停在导致异常的行,我只是在一个代码单元中显示了一堆十六进制值。 I want the debugger to stop at the line the caused the exception我希望调试器停在导致异常的行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM