473,804 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET 2.0 debugging slow

I've come over to .NET 2.0 recently from 1.1 and I now find that setting a
breakpoint in code and running in debug mode is extremely slow. So slow it's
unusable as a debugging tool.

Any suggestions? Settings?

Michael
Nov 7 '07 #1
2 1340
How much memory are you running under? That is often a sticking point, as
the 2.0 IDE bits are a bit of a memory hog.

The second thing to look at is how many projects you have loading and
whether or not you have any circular references amongst libraries. If so, a
good Dependency Model tool can help retool the libraries.

Can probably think of a few others, given time.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************** *************** *************** ****
| Think outside the box!
|
*************** *************** *************** ****
"Michael Jackson" <mi************ *@suddenlink.ne twrote in message
news:47******** *************** @news.suddenlin k.net...
I've come over to .NET 2.0 recently from 1.1 and I now find that setting
a breakpoint in code and running in debug mode is extremely slow. So slow
it's unusable as a debugging tool.

Any suggestions? Settings?

Michael

Nov 8 '07 #2
I"m running 2 gb of memory. Windows XP.

I have no circular references. This came from 1.1 and never had any problems
there.
Thanks for any suggestions.

"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamMwrote in
message news:uU******** ******@TK2MSFTN GP05.phx.gbl...
How much memory are you running under? That is often a sticking point, as
the 2.0 IDE bits are a bit of a memory hog.

The second thing to look at is how many projects you have loading and
whether or not you have any circular references amongst libraries. If so,
a good Dependency Model tool can help retool the libraries.

Can probably think of a few others, given time.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************** *************** *************** ****
| Think outside the box! |
*************** *************** *************** ****
"Michael Jackson" <mi************ *@suddenlink.ne twrote in message
news:47******** *************** @news.suddenlin k.net...
>I've come over to .NET 2.0 recently from 1.1 and I now find that setting
a breakpoint in code and running in debug mode is extremely slow. So slow
it's unusable as a debugging tool.

Any suggestions? Settings?

Michael


Nov 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2115
by: Will McGugan | last post by:
Hi, On my dev machine (P4 1.7Ghz Win2K) debugging with Komodo is painfuly slow. There is a delay of several seconds when stepping over a single line of code. Debugging the same code with Pythonwin is very quick. Does anyone else experience slow debugging, and is there anyway to speed it up? TIA,
1
1496
by: Brian Henry | last post by:
I know some of you have seen this problem. Stepping through code in the debugger is slow as heck in Visual Studio 2005. Well here is the problem, Edit and continue. Because edit and continue does run time compileing of code as it executes, it causes a big slow down in execution time. To disable this and return the debugger to the normal speed as it was in VS.NET 2003, do the following. Go to tools menu > options Select debugging form...
0
1017
by: John Socha-Leialoha | last post by:
I've been working on an ASP.NET application for a while. Debugging was really fast. But then the debugging started to slow down. When it got to the point where it took 5 seconds to step from line to line, or to the next breakpoint, I decided to see if I could figure out why. There was another post a year ago about this problem, but no solution. It turns out that I had some old breakpoints that were creating the problem. As soon as I...
1
3284
by: Jeffrey Roughgarden | last post by:
I wonder if anyone has any tips to improve Visual Studio's debugging performance? I have a 20 page web app that takes 90 or more seconds to bring up the logon page after I hit F5. Start without debug (Ctrl-F5) is much quicker, but of course, I don't have the debugging then. I am running this on a 2GHz Compaq laptop, with both the server and database on the same machine. After the first page loads, subsequent pages are slightly slow on...
20
4216
by: krypto.wizard | last post by:
Is there any editor or IDE in Python (either Windows or Linux) which has very good debugging facilites like MS VisualStudio has or something like that. I like SPE but couldn't easily use winPDP. I need tips to debug my code easily. Every help is greatly appreciated. Thanks
8
2217
by: razael1 | last post by:
I am putting debugging messages into my program by putting blocks that look like this: #ifdef DEBUG errlog << "Here is some information"; #endif All these #ifdef blocks make the code bulky and harder to read, so I'd like to do something where I put: errMsg("Here is some information");
4
3210
by: yuanliu1 | last post by:
Hi, I am debugging my code of visual c++ 6.0. I found it is extremely slow to run after the code is compiled as "debug" mode and OK as "release mode", I would say the difference is around 10x. But I am developing and mainly working on "debug" mode, it is very clumsy to wait for 10 mins for just one run. I did a check and I suppose it is related to the heap check in "debug" mode, so I am wondering if I can turn it off in visual c++ 6.0...
5
1364
by: tshad | last post by:
I am using VS 2005 and find that if I am debugging my program and am still in debug mode, certain functions slow down. For example, if I tracing through some of my code and haven't stopped debugging and try to open a Windows Explorer window, it will take close to a minute for the window to open up (using the windows/e combination keys). After the window opens, I can open up another window and it will open right away. Until I step to...
2
1928
by: KUTTAN | last post by:
My .net web application became very slow on debugging (it was working fine) I have installed the exe described in the post http://weblogs.asp.net/scottgu/archive/2007/08/21/public-hotfix-patch-available-for-vs-2005-f5-debugging-performance-issue-with-asp-net.aspx But it did not help me, what can I do?
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.