-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors using extension in VS2022 #8
Comments
This is unfortunately a VS thing (admittedly, a really annoying one), and it happens sporadically. It's mentioned also in the Troubleshooting section. The fact that it worked for an
Yes, when this happens, the debugger stops working properly until you change the current statement, i.e. pressing F10 (maybe followed by a Set next statement to reset the previous stage if required) fixes the debugger. Unfortunately VS is not open source, so I can't debug it and create pull requests for them, and it's really hard to make them fix such bugs. They often just close the reported issues as 'low priority'. I'm pretty sure your workaround didn't affect the issue. It's working again because you restarted the debug session, but it may randomly occur again. But of course, if you can create a reproducible example, don't hesitate to report it, and I'll investigate. One little thing that makes me a bit unsure though is the To say something positive and hopeful, too: Actually I plan to migrate to the newer visualizer infrastructure - at least if the extension is installed to a VS version that supports it (the one that is used also by the built-in enumerable visualizer), which hopefully has a better support than the legacy way. |
Visual Studio 2022 version 17.11.5
This extension, v4.0.0.0, was installed via the VS extension manager.
Error:
This error occurred the 2nd time I used the visualizer. The first time, with a System.Drawing.Image variable, it worked fine. The second attempt was with a System.Drawing.Bitmap variable. After the failure, it continued failing even when trying to view the variable it was able to display on the first attempt.
Just a guess, but I think the installer is putting the pieces of the debugger in the wrong places - or perhaps they are receiving the wrong paths.
Workaround:
After reviewing information in this GitHub repository, I downloaded the binaries directly from here, then copied the content of the net462 directory, directly into that first path of the error message. After doing so, the visualizer resumed working. And did so while retaining the active debugging session.
The text was updated successfully, but these errors were encountered: