Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 F10/F11 Stepping Slow, Toolbar Stepping Fine?

Tags:

I'm running Visual Studio 2010 with SP1, as well as R# 5.1, and a few other extensions (like PowerCommands and Productivity Power Tools). Somewhere along the lines, my debugging got super slow. If I use the F10/F11 keys to step, VS hangs for a bit and then steps. If I use the toolbar buttons for stepping, it's snappy as expected.

Any idea what's up with my shortcut keys?

like image 864
dwhite Avatar asked Apr 11 '11 15:04

dwhite


People also ask

What is difference between F10 and F11 in Visual Studio?

In short, pressing F11 will take you to every line including your function body, but F10 allows to move from one line to the the immediate next line.

What is the use of F11 key in Visual Studio?

The F11 key in the Microsoft Visual Studio 2005 environment activates the Step Into debug function.

How do I enable debugging in Visual Studio?

In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.


1 Answers

I had exactly the same problem - extremely slow debugging with keyboard (F10 for example). Some symptoms:

  • if I click Step Into on toolbar, then everything works normal,
  • the lag during debugging is present not only in Visual Studio but anywhere (notepad, browser,...),
  • if I set any other browser as default browser in Visual Studio (I tried Firefox), then it works OK,
  • if I disable third-party browser extensions in IE, then it works OK,
  • if I enable third-party browser extensions and disable LastPass, then the problem is gone and debugging with keyboard is fast again!

So, try to disable LastPass extension if you have it or all extensions and try it.

Edit1 - somebody allready posted this on LastPass forum: http://forums.lastpass.com/viewtopic.php?f=12&t=61029

Edit2 - and here on SO also :) https://stackoverflow.com/a/8186670/1110039

like image 154
sventevit Avatar answered Oct 15 '22 05:10

sventevit