473,324 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

debugging slows down other actions

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 another line - then it is slow again the next time I
try to open a window.

Also, if in debug mode and I try to open the window and it doesn't open, I
can stop debugging and it will open immediatly.

Why does this happen?

It doesn't happen with everything. IE seems to be unaffected.

Thanks,

Tom
Mar 31 '08 #1
5 1332
VS.NET takes up a lot of memory. Debugging an app takes even more. I suspect
the delay is caused by page faults. You can verify this by opening task
manager, click on View/Select Columns... and check the Page Faults Delta
item.

Then sort on PF Delta in the list and then perform the steps. I suspect
you'll see big numbers popping up here.

Most likely you just need more ram.
"tshad" <ts***@dslextreme.comwrote in message
news:ez**************@TK2MSFTNGP06.phx.gbl...
>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 another line - then it is slow again the next
time I try to open a window.

Also, if in debug mode and I try to open the window and it doesn't open, I
can stop debugging and it will open immediatly.

Why does this happen?

It doesn't happen with everything. IE seems to be unaffected.

Thanks,

Tom

Apr 1 '08 #2

"Fredo" <fr***@hotmail.comwrote in message
news:uJ******************************@giganews.com ...
VS.NET takes up a lot of memory. Debugging an app takes even more. I
suspect the delay is caused by page faults. You can verify this by opening
task manager, click on View/Select Columns... and check the Page Faults
Delta item.

Then sort on PF Delta in the list and then perform the steps. I suspect
you'll see big numbers popping up here.

Most likely you just need more ram.
Could be right.

I do see page faults happening when I do it.

But I have a Pentium 4 3.00 GHz with 2GB of RAM.

Thanks,

Tom
>

"tshad" <ts***@dslextreme.comwrote in message
news:ez**************@TK2MSFTNGP06.phx.gbl...
>>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 another line - then it is slow again
the next time I try to open a window.

Also, if in debug mode and I try to open the window and it doesn't open,
I can stop debugging and it will open immediatly.

Why does this happen?

It doesn't happen with everything. IE seems to be unaffected.

Thanks,

Tom


Apr 1 '08 #3
On Tue, 01 Apr 2008 11:03:04 -0700, tshad <ts***@dslextreme.comwrote:
"Fredo" <fr***@hotmail.comwrote in message
news:uJ******************************@giganews.com ...
>VS.NET takes up a lot of memory. Debugging an app takes even more. I
suspect the delay is caused by page faults. You can verify this by
opening
task manager, click on View/Select Columns... and check the Page Faults
Delta item.

Then sort on PF Delta in the list and then perform the steps. I suspect
you'll see big numbers popping up here.

Most likely you just need more ram.

Could be right.

I do see page faults happening when I do it.
Keep in mind that page faults are not in and of themselves bad. They
happen all the time even under normal memory situations.

What you want to watch out for are a very large number of page faults over
a short period of time, with a high correlation to disk i/o (with many
disks, you can even hear the side-effect of the i/o...they make noise when
the head's seeking back and forth as the i/o happens).
But I have a Pentium 4 3.00 GHz with 2GB of RAM.
2GB of RAM is sometimes a very large amount of memory and sometimes is not
nearly enough. It depends a lot on what OS you're using, what other
software is running, and what that other software is actually doing.

Pete
Apr 1 '08 #4
"tshad" <ts***@dslextreme.comwrote in message
news:ez**************@TK2MSFTNGP06.phx.gbl...
>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 another line - then it is slow again the next
time I try to open a window.

Also, if in debug mode and I try to open the window and it doesn't open, I
can stop debugging and it will open immediatly.

Why does this happen?

It doesn't happen with everything. IE seems to be unaffected.

Thanks,

Tom

Have you install SP1 for VS2005, this one did solve a number of debugger
slowdown issues.

Willy.

Apr 1 '08 #5

"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
"tshad" <ts***@dslextreme.comwrote in message
news:ez**************@TK2MSFTNGP06.phx.gbl...
>>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 another line - then it is slow again
the next time I try to open a window.

Also, if in debug mode and I try to open the window and it doesn't open,
I can stop debugging and it will open immediatly.

Why does this happen?

It doesn't happen with everything. IE seems to be unaffected.

Thanks,

Tom


Have you install SP1 for VS2005, this one did solve a number of debugger
slowdown issues.
Doesn't appear so.

I have version 8.0.50727.762 (SP.050727-7600) so that may be my problem.

I will try that.

Thanks,

Tom
>
Willy.

Apr 1 '08 #6

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

Similar topics

6
by: Larry R Harrison Jr | last post by:
I have a database I'm designing in Access 97. I have a custom field in a query which looks in {Table of Documents} and shows them all. It then needs a "latest revision number," stored in another...
9
by: cow3 | last post by:
Is there anyone who can help me with this: I have written a fairly complicated vb application of hydrological model that does a lot of number crunching. The model creates a set of object...
23
by: keyser_Soze | last post by:
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on this machine and I am trying to debug some existing code which has both ASP and ASP.NET components. When I try and launch...
1
by: Jose Walker | last post by:
Hi there, I've an ASP.NET 2 web application that I want to publish, but it happened that the application slows down in performance compared with the version managed by VS.NET 2005. When the...
15
by: Giff | last post by:
Hi again, I need a suggestion. Right now I am developing an application and I want to be able to output on screen some variables. Anyway, I want to remove these output operations when passing...
6
by: jacc14 | last post by:
Good morning all. I have been working on a database for the past couple of weeks and it is pretty nippy. I have an ODBC link in there from another software program. Since splitting it and...
12
by: Snoopy33 | last post by:
I have a FE / BE setup on my database. One of the main reasons that I did this was so that I could edit the front end and upload it without causing problems with day to day activities. I have...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.