Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can I invoke any programs when ReportFault is called?

20 views
Skip to first unread message

tomoseki

unread,
Jul 21, 2005, 5:33:02 AM7/21/05
to
Hi,

I'm looking for a way to invoke a command when unhandled exceptions are
detected.

Before WER, I can change AeDebug setting in the registry to set my own
debugger that invokes a command and create memory dump files.

CLR supports WER. It seems that it calls ReportFault api when it detects
unhandled exceptions. In this case, is it possible to change the debugger
command to be invoked on fatal errors? I can't find any settings like AeDebug
for Win32 apps.

Thanks,
Tomoki

Ivan Brugiolo [MSFT]

unread,
Jul 21, 2005, 11:20:49 AM7/21/05
to
The current design, UnhandledExceptionFilter will call ReportFault first,
and, after that has completed, depending upon the return
status from that function, it will call the debugger set in the AeDebug key.

Other unhandled exception filters set by other components
may look for other registry keys. In particular, these may be relevant to
the CLR
a..
a.. HKLM\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting
a.. HKLM\Software\Microsoft\.NETFramework\DbgManagedDebugger

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"tomoseki" <tomo...@discussions.microsoft.com> wrote in message
news:8F5114E9-83F5-4280...@microsoft.com...

0 new messages