Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging doesn't start [closed]

When I hit F5 (debugging mode) nothing happens. Building works correctly, exe file I can launch properly, but can't start debug. Why?

like image 382
Saint Avatar asked Feb 21 '12 08:02

Saint


2 Answers

I had the same problem and all the tricks didnt do it until I unchecked the "Enable the Visual Studio hosting process" under the debug tab in the project properties

like image 114
bresleveloper Avatar answered Nov 16 '22 00:11

bresleveloper


Ugh! I was experiencing the exact same symptoms you were, and after trying all the suggestions, the only one that worked was your own: creating a new project and copying all the contents across.

Then I noticed that I couldn't manually delete my Bin directory, and I realised that MyApp.vshost.exe had been running in the background this whole time, preventing itself from being overwritten by Visual Studio 2012. Not sure how it still worked from VS2010 though :/

In summary, the solution that worked for me: Kill the process, try again.

In other words, have you tried turning it off and on again?

like image 42
mo. Avatar answered Nov 15 '22 23:11

mo.