Delphi 怎么捕获不了异常???

来源:百度文库 编辑:神马文学网 时间:2024/04/16 16:39:00
delphi 开发出错:
提示:“project project1.exe raised exception
class EOloException with message‘XXXXX”,我想问一下各位try..except 怎么捕获不了异常?原因在哪儿??
--------------------------------------------------------
在delphi的tools --> debugger options --> language exceptions中取消‘stop on delphi exceptions’前面的勾行就可以了,这样就可以抓住以前try...except抓不到的异常了。