0

The target process exited with code '-2146232797' while evaluating the function 'System.Type.GetType'

cxtales 1 month ago 0


I have a problem using OzCode in my UWP project. When I set a breakpoint to a specific location, the debugger crashes reliably. Only disabling the OzCode extension allows me to debug this location.
I am using OzCode 4.0.0.91.
If the breakpoint triggers, then I get the message from the studio: The target process exited with code '-2146232797' while evaluating the function 'System.Type.GetType' and it points me to https://docs.microsoft.com/en-us/visualstudio/debugger/error-evaluating-the-function-process-exited
Then the debugger ends.
I don't know how to recreate it in a test project.

If I disable all ozcode features it still occurs. Only disabling the ozcode extension helps so far.


Can anything be done here? I mean the extensions is pretty useless if it crashes the complete debugging session… :(


The OzCode log states:

2018-12-14 15:39:57,918 [1] INFO  BugAidLogger - DebuggerBreakStateData initialization started.-+-+-
2018-12-14 15:39:57,931 [1] INFO  BugAidLogger - Spent 00:00:00.01 doing GetBreakStateData-+-+-
2018-12-14 15:39:58,485 [1] INFO  BugAidLogger - Entered Break Mode-+-+-
2018-12-14 15:39:58,498 [1] INFO  BugAidLogger - Entered dbgBreakMode mode. OzCode's in Enhanced Mode: True-+-+-
2018-12-14 15:39:58,525 [1] INFO  BugAidLogger - Loaded module - Path: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\EXTENSIONS\B1PFWUNE.1FY\OzCode.Debugger.Probe.dll, IsUserCode: False, Message: "xxx.exe" (CoreCLR: CoreCLR_UWP_Domain): "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PREVIEW\COMMON7\IDE\EXTENSIONS\B1PFWUNE.1FY\OzCode.Debugger.Probe.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.-+-+-
2018-12-14 15:39:59,117 [1] INFO  BugAidLogger - Loaded module - Path: path\xxx\bin\x86\Debug\AppX\System.Diagnostics.StackTrace.dll, IsUserCode: False, Message: "xxx.exe" (CoreCLR: CoreCLR_UWP_Domain): "path\xxx\bin\x86\Debug\AppX\System.Diagnostics.StackTrace.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.-+-+-
2018-12-14 15:39:59,127 [1] INFO  BugAidLogger - Loaded module - Path: path\xxx\bin\x86\Debug\AppX\System.Reflection.Metadata.dll, IsUserCode: False, Message: "xxx.exe" (CoreCLR: CoreCLR_UWP_Domain): "path\xxx\bin\x86\Debug\AppX\System.Reflection.Metadata.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.-+-+-
2018-12-14 15:39:59,144 [1] INFO  BugAidLogger - Loaded module - Path: path\xxx\bin\x86\Debug\AppX\System.IO.FileSystem.dll, IsUserCode: False, Message: "xxx.exe" (CoreCLR: CoreCLR_UWP_Domain): "path\xxx\bin\x86\Debug\AppX\System.IO.FileSystem.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.-+-+-
2018-12-14 15:39:59,446 [1] WARN  BugAidLogger - Debug value has error. _propertyInfo.dwAttrib: DBG_ATTRIB_VALUE_READONLY, DBG_ATTRIB_VALUE_ERROR, _propertyInfo.dwFields: DEBUGPROP110_INFO_NAME, DEBUGPROP110_INFO_VALUE, DEBUGPROP110_INFO_ATTRIB, DEBUGPROP110_INFO_PROP. Value: Interner Fehler im C#-Compiler.-+-+-
2018-12-14 15:39:59,467 [1] WARN  BugAidLogger - Debug value has error. _propertyInfo.dwAttrib: DBG_ATTRIB_VALUE_READONLY, DBG_ATTRIB_VALUE_ERROR, _propertyInfo.dwFields: DEBUGPROP110_INFO_NAME, DEBUGPROP110_INFO_VALUE, DEBUGPROP110_INFO_ATTRIB, DEBUGPROP110_INFO_PROP. Value: Interner Fehler im C#-Compiler.-+-+-
2018-12-14 15:40:00,499 [1] WARN  BugAidLogger - Debug value has error. _propertyInfo.dwAttrib: DBG_ATTRIB_VALUE_READONLY, DBG_ATTRIB_VALUE_ERROR, _propertyInfo.dwFields: DEBUGPROP110_INFO_NAME, DEBUGPROP110_INFO_VALUE, DEBUGPROP110_INFO_ATTRIB, DEBUGPROP110_INFO_PROP. Value: Interner Fehler im C#-Compiler.-+-+-
2018-12-14 15:40:00,501 [1] WARN  BugAidLogger - Debug value has error. _propertyInfo.dwAttrib: DBG_ATTRIB_VALUE_READONLY, DBG_ATTRIB_VALUE_ERROR, _propertyInfo.dwFields: DEBUGPROP110_INFO_NAME, DEBUGPROP110_INFO_VALUE, DEBUGPROP110_INFO_ATTRIB, DEBUGPROP110_INFO_PROP. Value: Interner Fehler im C#-Compiler.-+-+-
2018-12-14 15:40:00,502 [1] WARN  BugAidLogger - Debug value has error. _propertyInfo.dwAttrib: DBG_ATTRIB_VALUE_READONLY, DBG_ATTRIB_VALUE_ERROR, _propertyInfo.dwFields: DEBUGPROP110_INFO_NAME, DEBUGPROP110_INFO_VALUE, DEBUGPROP110_INFO_ATTRIB, DEBUGPROP110_INFO_PROP. Value: Interner Fehler im C#-Compiler.-+-+-
2018-12-14 15:40:33,577 [1] INFO  BugAidLogger - Entered Design Mode-+-+-
2018-12-14 15:40:33,589 [1] INFO  BugAidLogger - Debugging session ended - clearing all session data.-+-+-
2018-12-14 15:40:33,595 [1] INFO  BugAidLogger - Entered dbgRunMode mode. OzCode's in Enhanced Mode: True-+-+-