Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 Crashing when clicking "Attach to Process"

Whenever I click "Attach to Process..." in the Visual Studio 2013 Visual studio crashes on me before seeing the attach dialog, regardless of if I have a project loaded or not. I can click debug and get into debug mode but I really need to attach.

Things I've Tried:

  • Uninstalled and Reinstalled VS
  • Loading Visual Studio with "/safemode"
  • Loading Visual Studio with "/log" and checking the log (no notable errors listed)
  • Deleting my Local Temp folder

Additional Info:

  • OS: Windows 8
  • Version: Visual Studio 2013 Update 4
  • Exeption when debugging VS crash: An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.CommonIDE.dll

Not sure what else to try or where else to look, I have VS 2015 preview install and it has no problems.

like image 371
Mikeb Avatar asked Feb 10 '15 03:02

Mikeb


People also ask

How do I reattach to a process in Visual Studio?

To quickly reattach to a process you attached to previously, see Reattach to a process. In Visual Studio, select Debug > Attach to Process (or press Ctrl + Alt + P) to open the Attach to Process dialog box. Check the Connection type. In most scenarios, you can use Default. Some scenarios may require a different connection type.

How do I attach to a running process in Visual Studio?

To quickly select a running process to attach to, in Visual Studio, type Ctrl + Alt + P, and then type the first letter of the process name. Starting in .NET Core 3, the w3wp.exe process is used for the default in-app hosting model.

How do I debug a process in Visual Studio?

After the process is running, select Debug > Attach to Process or press Ctrl + Alt + p in Visual Studio, and use the Attach to Process dialog to attach the debugger to the process.

Why does Visual Studio 2013 hang on startup?

The Visual Studio might go hang, when there was a problem in loading the nuget packages. Show activity on this post. In my case, VS 2013 Professional was hanging on every startup, even without opening a solution because the license was no longer valid.


1 Answers

In my case the culprit was "PowerShell tools for Visual Studio 2013". I disabled it and the problem disappeared.

Tools => Extensions and Updates... => choose the extension and press Disable

like image 180
Burst Avatar answered Sep 26 '22 01:09

Burst