Groups | Blog | Home
all groups > visual studio .net debugging > april 2007 >

visual studio .net debugging : Debugging has suddenly become VERY SLOW!


Juan Dent
4/18/2007 2:10:03 PM
Hi,

I am experiencing extremely slow debugging compared to running out of
debugger. I have eliminated all breakpoints and yet no changes.
I am debugging a C++ app that links to several DLLs; am also using the
multi-threaded DLL runtime - non debug.

what factors could be contributing to this slowness?
--
Thanks in advance,

Bryan Phillips
4/18/2007 10:57:32 PM
Are you debugging mixed code or using a symbol server?

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
Juan Dent
4/19/2007 12:30:01 PM
Hi,

Thanks. No actually I found the culprit. I had in my project's references
path a network path for a computer that was not on. I guess all the waiting
was going back and forth the network trying to reach this non-existent
computer.
Does this make any sense?
I deleted the reference and boom: no delays.

I would be interested though in learning a bit of what could be going on
behind the scenes to explain such a severe increase in debugging timeout.

--
Thanks in advance,

Juan Dent, M.Sc.


[quoted text, click to view]
Andrew McNab
4/19/2007 5:52:00 PM
The more library references and threads you have in your application, the
more debugging monitors run in order to properly trace your code as it is
running. Generally, single thread apps run as fast within the visual studio
environment as executing them. Creating multi-thread apps and having many
library references blows the execution speed out exponentially in some cases.

[quoted text, click to view]
AddThis Social Bookmark Button