We help IT Professionals succeed at work.

try , except  problem

krelman
krelman asked
on
hi
I want to know if there are option that when i run my application from the delphi application , it will not trow me a message box every time he get the except session .

thank
Comment
Watch Question

Commented:
try except  stops you program in debug but if you run the program outside the delphi(runnig compiled exe file) it would not give you an error.

The only way to stop from debuger throwing exception message is not to do execeptions
Commented:

Go to Tools | Debugger Options | Language Options.
You can either stop Delphi stopping on all Exceptions (in which case uncheck the "Stop On Delphi Exceptions") or you can tell it to ignore certain exception classes such as EConvertError.

Jo

Commented:
In delphi 3

Tools | Environment options
Preferences, Debugging,
Break on exception =false (uncheck)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.