xsharp.eu • VS2022 crashes during debugging
Page 1 of 1

VS2022 crashes during debugging

Posted: Thu Jun 15, 2023 12:04 pm
by HansjoergP
With the current version of X# I often have crashes during debugging. Until now it was always that I held in a breakpoint, wanted to look at values. Then suddenly Visual Studio and the application crashed. These crashes happen about once every day

VS2022 crashes during debugging

Posted: Thu Jun 15, 2023 12:09 pm
by robert
Hansjoerg,
Can you supply more information about these crashes:
- does VS crash completely? Or just the debugger and can you continue to edit / compile afterwards?
- is there information in <RoamingAppData>MicrosoftVisualStudio17.0_<uniqueid> in the form of a file ActivityLog.xml

Robert

VS2022 crashes during debugging

Posted: Thu Jun 15, 2023 12:25 pm
by HansjoergP
Visual Studio crashes totaly...In the event log is the following info:
Pfad der fehlerhaften Anwendung: C:Program FilesMicrosoft Visual Studio2022ProfessionalCommon7IDEdevenv.exe
Pfad des fehlerhaften Moduls: C:Program FilesMicrosoft Visual Studio2022ProfessionalCommon7PackagesDebuggervsdebug.dll
In the ActivityLog I don't have any interesting information.

VS2022 crashes during debugging

Posted: Thu Jun 15, 2023 12:39 pm
by HansjoergP
I will send you a dump-file.
The crash seems to happen always, when I go to the stacktrace and double click on the calling position

VS2022 crashes during debugging

Posted: Thu Jun 15, 2023 7:44 pm
by ic2
Hello Hansjoerg,

Do you still have VS2019 on your PC? I wonder if it won't crash with that VS version.

If you search on it, you'll find multiple messages of a crashing, most for VS2022. Here are some workarounds, for 2019 and 2022:

https://stoneridgesoftware.com/quick-fi ... ug-x-code/
https://stackoverflow.com/questions/703 ... -debugging

Dick

VS2022 crashes during debugging

Posted: Thu Jun 15, 2023 9:23 pm
by robert
Dick,
HansJoerg has sent me the crash dump.
I do not think this is a problem from VS but in our code.

Robert