I have an .NET application which crashes when I attach a debugger. Without an attached debugger it runs as expected.
When the application crashes it just vanishes and no error message is displayed anywhere. Visual studio which I used to start the application and attach the debugger is still running but it did recognize that the debugger isn't running anymore.
The behavior doesn't happen every time but it is quite reliable.
How can I analyze this error?
This is what the Event Viewer
tells me:
Faulting module name: KERNELBASE.dll, version: 10.0.18362.86, time stamp: 0x3fee4d7f
Exception code: 0xc000041d
Fault offset: 0x001133d2
Faulting process id: 0xf7f8
Faulting application start time: 0x01d59df4ddb019b5
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: a24c3846-a339-43ae-a3fb-04665b1b76a4
What have I tried:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps
registry key to automaticly create a crash dump but nothing is beeing createdWPF
Application I subscribe to the DispatcherUnhandledException
event but it isn't publishedstatic void Main()
method but the code in the catch
isn't hitDebug > Windows > Exception Settings
I've enabled all C++ Exceptions
, Managed Debugging Assistants
and Win32 Exceptions
I'm using the following products:
Project specialties:
Basicly my question isn't why is this code not working but how can I find the code which is not working.
User contributions licensed under CC BY-SA 3.0