草庐IT

UnhandledExceptionFilters

全部标签

c++ - 是否可以使用调试器调试 UnhandledExceptionFilters?

在MicrosoftWindowsAPI中,您可以使用SetUnhandledExceptionFilter,为未处理的异常设置处理程序。该页面上提到的最大收获是:Ifanexceptionoccursinaprocessthatisnotbeingdebugged,andtheexceptionmakesittotheunhandledexceptionfilter,thatfilterwillcalltheexceptionfilterfunctionspecifiedbythelpTopLevelExceptionFilterparameter.(添加了强调)这基本上意味着,如果