VS2022 crashes during debugging

This forum is meant for questions and discussions about the X# language and tools
Post Reply
HansjoergP
Posts: 142
Joined: Mon Jul 25, 2016 3:58 pm
Location: Italy

VS2022 crashes during debugging

Post 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
User avatar
robert
Posts: 4529
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VS2022 crashes during debugging

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
HansjoergP
Posts: 142
Joined: Mon Jul 25, 2016 3:58 pm
Location: Italy

VS2022 crashes during debugging

Post 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.
HansjoergP
Posts: 142
Joined: Mon Jul 25, 2016 3:58 pm
Location: Italy

VS2022 crashes during debugging

Post 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
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

VS2022 crashes during debugging

Post 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
User avatar
robert
Posts: 4529
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VS2022 crashes during debugging

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply