简体   繁体   中英

Stop on exception Delphi 10.1

I have recently moved from Delphi 7 to 10.1 Berlin.

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. 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.

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 .

工具 > 选项 > 调试器选项 > 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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