Visual Studio 2015 DataTable/DataSet Visualizer crashes IDE
Asked Answered
P

3

15

Whenever I try to open the DataTable or DataSet Visualizer it crashes the IDE.

I tried the various command-line switches to reset everything, started in /SafeMode and undertook a repair of VS. Nothing has helped so far.

As far as I can tell it's only those two visualizers that crash.

I also tried starting VS with the /Log switch, but unfortunately it doesn't seem to log the crash there...

How can I find out what's the problem and fix it?

EDIT:

Seems like a problem with the .NET Framework prior to version 4.0: https://connect.microsoft.com/VisualStudio/feedback/details/1711642 https://connect.microsoft.com/VisualStudio/Feedback/Details/1709336

Paranymph answered 29/7, 2015 at 9:26 Comment(3)
capture a dump (technet.microsoft.com/en-us/sysinternals/dd996900.aspx, msdn.microsoft.com/en-us/library/bb787181%28VS.85%29.aspx) of the crashing setup app. Open the crash dump in windbg, fix the debug symbols (https://mcmap.net/q/299053/-how-to-set-up-symbols-in-windbg), run !analyze -v and post the output.Emaciated
The above didn't fix it for me, but this link did: #8408734Lee
Hallelujah! Update 1 fixes this!Aurar
H
17

I had the same problem after 4h experimenting I manage to fix it by going to

Tools => Options => Debugging and turning on Use Managed Compatibility Mode

Found better workaround
Tools => Options => Debugging and turning on Use the legacy C# and VB expression evaluators This one doesn't turn off some new features like "Diagnostic Tools".

Update - Visual Studio 2015 Update 1 Fixes this problem

Hebdomad answered 31/8, 2015 at 8:17 Comment(4)
Thank you very much! This workaround appears to do the work! Accepted as answer since Microsoft acknowledged the bug and are working to fix it, but this setting circumvents it.Paranymph
This is a good workaround. Shame MS is too lazy to fix anything quickly.Carlson
I have recieved an email stating that this has been fixed in next update. They wont divulge a date to though.Aurar
Your 4h experimenting save us a lot of suffering and painPerchance
C
0

External debugger visualizers are currently broken in Visual Studio 2015. This includes the DataSetVisualizer and the WpfTreeVisualizer.

Cham answered 4/8, 2015 at 8:28 Comment(0)
T
-3

Go to Tools > Options > Debugging and turn on Use the legacy C# and VB expression evaluators

Tidewaiter answered 24/10, 2015 at 8:29 Comment(1)
This solution was already added to the accepted answer yesterday. Why do you feel the need to repeat the accepted answer?Dualistic

© 2022 - 2024 — McMap. All rights reserved.