开发者

VS2010 debugger takes an unreasonable amount of time

Anyone else dealt with VS2010 debug in C++ and have it just sit there for 30+ second each time you step? This is happening to me and the call stack window just has this grey thing that says "Busy..." in it during this freeze. The whole interface just locks down...each and every step I make and right now I'm trying to step through this massive policy based design in boost to figure out WTF I got a, "no RTTI data," error when I know the compiler is using RTTI.

Anyway, its frustrati开发者_开发知识库ng the holy hell out of me so if anyone has any idea how to speed this thing up to at least a snail's pace that would be great.


Have you seen these?

Visual Studio debugger slows down in in-line code

Slow debugging issue in Visual Studio


You aren't using data breakpoints or conditional breakpoints are you? Both of these slow down running/stepping significantly.


I have seen similar problems in the past if the debugger is trying to download symbols from a symbol server and either the server connection is slow (or can't be reached) or there's some problem saving them. So firstly check the symbol settings (Debug -> Options -> Symbols). Try disabling symbol lookup entirely or if you're using a local symbol server then check the accessibility and directory permissions.

If that doesn't solve it then try running Process Monitor during the hang as this may show you what's going wrong, eg if something is trying to access a network drive or a file or directory that doesn't exist. It may give you enough hints to diagnose the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜