Link to home
Start Free TrialLog in
Avatar of hrdf-pipkin
hrdf-pipkinFlag for United States of America

asked on

Visual Studio 2010 won't debug

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?
Avatar of kaufmed
kaufmed
Flag of United States of America image

What do your options show for the F5 key?

User generated image
You can click inside the "Press shortcut keys:" text box and push F5 to bring up its corresponding action.
If it's not evident in the above screenshot, go to Environment->Keyboard to access the above fields.
Avatar of hrdf-pipkin

ASKER

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.
Does it happen on same project or any project? What type of project is it? Web or Win?
It happens on any project.  They are all Windows Forms Applications with SQL Server 2008 Express R2 data sources.
ASKER CERTIFIED SOLUTION
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada 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
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!