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

前端 未结 14 2632
滥情空心
滥情空心 2021-02-12 11:25

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 debuggi

相关标签:
14条回答
  • 2021-02-12 12:06

    I was having this problem in my new job, where we use Visual Studio 2008 SP1. (Yes, I know, I know). Long delay on step with flickering hourglass. I always use F10, I don't even think about it, there's no way I could tolerate changing to the mouse or waiting multiple seconds for a simple step command.

    I read through all the solutions provided here and elsewhere on the net with no joy.

    Finally found the issue - I had set up my default language for the IDE as C#. It turns out the project I'm working on actually uses VB.NET, and when I set the default language to VB.NET (via Tools - Import and Export Settings) the debugger got so fast that I couldn't keep up with it and accidentally pressed F5 on the breakpoint I want to examine.

    I hope this helps someone else.

    0 讨论(0)
  • 2021-02-12 12:07

    Calling DirectInput's Acquire() function on a keyboard device is what caused the slowdown for me. This is potentially related to the SetWindowsHookEx() caused slowdown - ie. that might be using DirectInput.

    0 讨论(0)
提交回复
热议问题