We help IT Professionals succeed at work.

Visual Studio 2010 won't debug

hrdf-pipkin
hrdf-pipkin asked
on
Hi Experts.  Recently, VS2010 has started acting up on me.  I've developed several applications in VB.net (with SQL Server 2008 back ends).  Now, when I try to debug my apps, the screen ghosts like it's supposed to, and the status bar reads "Build started...".  However, when the status changes to "Build succeeded", the app won't launch.
Basically, hitting the Start Debugging (F5) button is producing the exact same behavior as if I had hit Build <project> from the Build menu.
I've tried changing the configuration from Debug to Release and I get the same behavior.  Any ideas what may be causing this behavior?
Comment
Watch Question

Most Valuable Expert 2011
Top Expert 2015

Commented:
What do your options show for the F5 key?

Screenshot
You can click inside the "Press shortcut keys:" text box and push F5 to bring up its corresponding action.
Most Valuable Expert 2011
Top Expert 2015

Commented:
If it's not evident in the above screenshot, go to Environment->Keyboard to access the above fields.

Author

Commented:
It looks the same as your SS.  Debug.Start (F5 (Global)).  However, the behavior happens even when I don't use the shortcut key.  If I hit the Start Debugging toolbar button (Play), or select Start Debugging from the Debug menu, I get the same behavior.
Just to note: this behavior does not happen 100% of the time.  If I close and reopen VS enough times, eventually it works properly.  However, it happens often enough (>75% of the time) that I would like to figure out what is wrong and fix it.
Most Valuable Expert 2012
Top Expert 2014

Commented:
Does it happen on same project or any project? What type of project is it? Web or Win?

Author

Commented:
It happens on any project.  They are all Windows Forms Applications with SQL Server 2008 Express R2 data sources.
Top Expert 2015
Commented:
You can repair your installation of Visual Studio through the Program section of the Control Panel.

Author

Commented:
OK, I tried the repair, and it seems to be working fine now.  Although, I may just be having a run of good luck, since the problem was intermittent before.  I guess I'll close this for now and see how it goes.  Thanks all!