Главная страница | назад

Article #22941: How do I prevent the compiler from halting the execution of my application during debugging when it encounters an exception?

Question:  When the compiler throws an exception during debugging, the execution of my application stops, which makes it difficult to analyze certain behaviors of my applications.  Is there a way I can turn off this feature, without turning off exceptions entirely?

Answer:  You have the option to turn off this feature, which is turned on by default.  Navigate to:   Tools  |  Debugger Options...  |  Language Exceptions  |  & uncheck "Stop On C++ Exceptions" or  "Stop On Delphi Exceptions"

Note:  If checked, you can tell the debugger to ignore specific exception types by using the "Exception Types to Ignore" listbox.

Last Modified: 24-AUG-00