Click here to Skip to main content
13,447,272 members (38,348 online)
Click here to Skip to main content
Add your own
alternative version


5 bookmarked
Posted 26 Dec 2012

Overlooked reason for debug step slow-down in Visual-Studio

, 24 Jan 2013
Rate this:
Please Sign up or sign in to vote.
If your VS debgger is running slow and you checked out all other tips with no help - maybe you unchecked this one and forgot to recheck it after you were done.


In this short tip I want to note a hard-to-find (for me) reason for Visual Studio slowness in debugging.


Visual Studio has a great debugger - but some things make it go really slow. I won't cover all the top google search results for this... Those tackle problem caused by slow pdb files (e.g. ones on a network drive), by managed code issues, by debug-window evaluations, by exceptions and debug/trace points etc.

It took me time to find it - but for me the slowness was caused by having Tools->Options->Debugging->General->"Require source files to exactly match the original version" unchecked. I just ticked it back and now the step-over speed is back to normal.

What's interesting is that I couldn't find a single reference to this on the web - even after finding the solution. I wonder how many people experienced this...


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Itai Basel
Software Developer (Senior)
Israel Israel
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionThank you :) Pin
aggaton17-Feb-16 6:51
memberaggaton17-Feb-16 6:51 
QuestionMany thanks! Pin
sjaak_trekhaak7-Oct-14 1:27
membersjaak_trekhaak7-Oct-14 1:27 
Question"Show threads in source" (in debug ribbon) also slows down debugging in VS2013 Pin
FBirth9-Jan-14 8:26
memberFBirth9-Jan-14 8:26 
GeneralGreat find !! Pin
MrDRamos3-Oct-13 8:44
memberMrDRamos3-Oct-13 8:44 
GeneralRe: Great find !! Pin
Itai Basel5-Oct-13 9:16
memberItai Basel5-Oct-13 9:16 
QuestionThank you for sharing Pin
Stefan_Lang20-Feb-13 22:15
memberStefan_Lang20-Feb-13 22:15 
Questionwhere is this setting? Pin
Joseph Ortiz27-Dec-12 10:12
memberJoseph Ortiz27-Dec-12 10:12 
AnswerRe: where is this setting? Pin
Itai Basel27-Dec-12 18:37
memberItai Basel27-Dec-12 18:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03-2016 | 2.8.180318.3 | Last Updated 24 Jan 2013
Article Copyright 2012 by Itai Basel
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid