Visual Studio 2013: System-wide freeze when launching debugger - visual-studio-2013

I have a WPF solution in Visual Studio 2013 update 2 with over 100 projects, mostly C#. I have a small C# exe as the start-up project which does some basic initialisation and displays a file open dialog which appears within a few seconds.
I have recently encountered an intermittent problem that occurs a few seconds after launching the debugger, usually before the file open dialog is displayed. Visual Studio starts loading dependencies (visible in the status bar at the foot of the window), then suddenly goes unresponsive and fails to recover.
Crucially, it is impossible to launch new processes or close windows/terminate existing processes. It is still possible to interact superficially with programs that were already running, i.e. menus in user interfaces are still clickable but have no effect. Running any command in an open cmd prompt causes the window to stop responding; Ctrl+Alt+Del/Ctrl+Shift+Esc have no effect. The only option is a hard reset.
I have tried deleting PDBs and performing a full clean/rebuild, to no avail. There is also nothing of interest in the system or application event logs.
This issue started happening a few days ago and has become more regular, but remains intermittent.

I deleted the solution's SDF file, and the issue has not occurred since.

Related

How to stop pink/purple terminalpad window from opening when running console app in Visual Studio on Mac

At some point today, whenever I run the C# console app that I'm developing in Visual Studio 2022 on Mac, a pink/purple window opens with the title "TerminalPad-TerminalPad-0" in the frame of the window. An additional normal looking terminal window within which the application actually runs opens, takes keyboard input and displays output. When the application successfully completes, the pink/purple window goes away.
How do I stop this purple/pink window from opening?
I tried changing all the terminal options I could find in VS with no change. I don't know what I did to make this start happening.
I started having this happen to me today (11/10/22) as well. There's another thread with the same issue, required a full uninstall with a 3rd party uninstaller ("App Cleaner and Uninstaller", has two day trial) and then full reinstall. Just dragging the Visual Studio icon to the trash won't fix it.
I had this issue after a VS update. I uninstalled using the Microsoft provided scripts linked to from within this page:
https://learn.microsoft.com/en-us/visualstudio/mac/uninstall?view=vsmac-2022
and currently leading to the script at this location (please double check above page if the below link is dead):
https://raw.githubusercontent.com/MicrosoftDocs/visualstudio-docs/master/mac/resources/uninstall-vsmac.sh
I then reinstalled using the MS provided installer for MacOS. All working fine now.
It took around 15 mins in total to resolve.

Can break points in control code cause visual studio lockups?

I regularly experience lockups in VS2022.
When I try to close the program I get a message
Microsoft Visual Studio 2022 is not responding.
With a dialog asking whether to
Restart the program.
Close the program
Wait for the program to respond.
For some reason I am unable to capture a screen shot of the message.
Today when running my program in the IDE, I saw that whilst the UI was responsive the code screen was behaving this way.
I had some break points in controls. Could that be the cause?
I also often get this message when Microsoft Visual Studio (Not Responding) is in the designer caption.

Visual Studio Premium 2013 debug window not showing up at all

I haven't used my VS in few months, but today I got the need to. So I wrote some code, pressed F5 to see if it compiles and works properly, it started showing compiling process in the bottom window, at the very bottom a Build Successful message shows up, and nothing. The app doesn't start up, I can't click anything in VS (isn't considered as "not responding" by windows), and Task Manager shows three processes named like my app, all having 112K memory usage. After I kill VS process, one of them closes, but I absolutely can't get rid of remaining two, until I restart my PC. Trying to run the exe in project directory also didn't work.
I'm reinstalling Visual Studio to see if it gets fixed from just doing that, but ideas on how to fix it are still welcome in case it doesn't.

Visual Studio Hangs in debug?

For the past couple of days, Visual Studio 2012 and 2013 have been hanging during debug mode. Most of the time, i dont get this issue until further into my project. When i press the Start Button, everything continues as normal, but then hangs with this message at the bottom of visual Studio statusBar.
Inside Task Manager, when i try to force taskkill, or end process/process tree, this continues to stay present in my running processes.
Even after a reinstall, nothing seems to help it. I did see somewhere on the Microsoft Developer forums where a person was told it was something to do with the windows sybmol server?. What do i need to do to fix this issue i am having?
After this occurs once, i am forced to reboot my computer. Even if i open Visual Studio after this happens, it still has the same issue.

Visual Studio 2010 lingering tool windows

I have two strange issues in VS 2010.
At home, every time I start Visual Studio I have the error window that is active although I close it every time when I quit. I do not have that problem at work.
At work, I have a lingering Server tool window that is open when starting the application, but once VS is fully started it disappear, yet this isn't where the tool window is located when I open it manually.
I don't care much about the second problem, but I would very much like to know if there's a setting to not make the error window open all the time.
Thanks,
David
Try these steps:
Close the error window
Export this setting to a file on your disk (Tools>Import/Export Settings)
Import this settings file and see if the error window comes up again on startup

Resources