Link to home
Start Free TrialLog in
Avatar of nchannon
nchannonFlag for Ireland

asked on

Visual Studio 2013 local debugger seems to be missing

Hi I am trying out visual studio 2013 upgrading from 2010. VS 2013 90% of the time has attach where normally the option is to run and start debugging and its also doing the same thing in release mode as well. Then sometimes VS 2013 works fine and has local debugger in the run icon and I can debug and run the app as normal, but while there is attach and only attach next to the run icon I can not run the app to debug it either in debug or release mode only compile it.
 So how do I fix this annoying issue as it was not in VS 2010 unless I specifically chose this option to attach to another process.
Regards
Nigel
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nchannon

ASKER

Hi Sara,
 Thanks the problem was that for some reason the project no longer was set as startup project why this happened I do not know as it was always set as the startup project at least now I know what to do if it happens again.
Regards
Nigel
the startup project was stored in the *.suo file not in the .sln. the suo has "user-specific" data and will be newly created if there is anything like a different windows account, project path, ...

in this case the 1st project of the .sln file was used for default. if you want to have the right project chosen as startup for any case, you may edit the .sln file with a text editor and move the startup project to the top of the projects listed in the solution file.

see http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/b6347dce-8449-4cbb-a606-7b19407a1026/how-do-i-set-the-startup-project-in-the-sln-file

for more details.

Sara