Visual Studio 2013: Slow debugging performance

时间:2015-10-16 16:41:58

标签: debugging visual-studio-2013

I am using Visual Studio 2013 update 2. I have an issue debugging a solution comprising around 100 C++ and Fortran projects. Running the code through the debugger performs normally, but when I try to step over a breakpoint, even a simple assignment such as int i = 0; takes several seconds before advancing to the next line.

My debug exe is large but the machine has plenty of available RAM and should easily cope with this (c. 150Mb). The exe itself is C++ and is built from statically linked libs.

I have tried deleting PDBs, cleaning and rebuilding.

1 个答案:

答案 0 :(得分:1)

关闭解决方案并删除SDF文件已解决此问题。我现在可以正常跳过代码。

新的SDF文件为400 MB - 是旧文件大小的一半。它似乎在调试过程中会增长,因此将来可能需要重复这种内务管理。