| View previous topic :: View next topic |
| Author |
Message |
sieber Newbie
Joined: 01 Jul 2003 Posts: 13 Location: Germany
|
Posted: Tue Jul 01, 2003 3:57 pm Post subject: Debugging in the IDE takes 100% of CPU |
|
|
| When you add a breakpoint to the SourceCode and the IDE stops, my PC use 100% of CPU for VDS. Also if I use the F8 (single step). I use VDS 5 on Win 2000. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Jul 01, 2003 4:29 pm Post subject: |
|
|
Same here on Windows XP Professional. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Tue Jul 01, 2003 7:43 pm Post subject: |
|
|
Who cares? _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Jul 01, 2003 7:48 pm Post subject: |
|
|
Although it might not be important to you, a lot of people have a lot of
stuff running in the background that can not afford to have the processor
usage eaten up by VDS.
P.S., next time please have a better way of saying what you are trying to
say... instead of saying "Who cares?", put something like, "Although this
truly makes 100% processor usage, is it really that important?"
Some people, and I'm not saying it's me, but there are people out on this
board that take offense to this type of thing.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Tue Jul 01, 2003 8:30 pm Post subject: |
|
|
Yeah, like me. That's bs. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
LOBO Valued Contributor


Joined: 14 Mar 2002 Posts: 241 Location: Wilmington, Delaware, USA
|
Posted: Tue Jul 01, 2003 10:35 pm Post subject: |
|
|
Julian,
I must admit that I also take a little offense to the tone of some of the replies you've made. It always seems like you think someone is personnaly attacking you. Not that I am really concerned about the cpu usage issue here but I have had interest in some of the other issues/concerns expressed since VDS 5's release. Please understand Julian, that I for one am very glad that you worked on programming 5 and appreciative of the work you did! I do feel however that because some things have mentioned that there may be a bug in VDS 5 that you are taking personal offense. Please don't do that. Everyone here is here because we support VDS and want to see it continue to grow and get better. That's why we comment. That's why we post. If you can't see that then I'm really sorry but all I can say is that nobody is attacking you I'm positive that they all are just as appreciative for your efforts as I am.
My two cents feel free to disregard.
- Mark
P.S. I hope nobody takes offense to anything in this post. I just had to say what I have seen and how I feel. |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Jul 01, 2003 11:38 pm Post subject: |
|
|
thanks ff for "putting your foot down" on inappropriate comments being posted at this forum...you being one of the forum moderators
the whole idea of the forum is for folks to share their ideas and concerns about vds, to ask for help, and to offer help...and no one should be ridiculed, belittled, put down, or anything like that...no one!
every post should be treated with respect unless of course it is deliberatly inflamatory...and what sieber posted does not warrant the response he got
sieber, don't be put off by that response...there are a lot of folks at this forum who will treat your concerns seriously
serge _________________
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 02, 2003 12:02 am Post subject: |
|
|
While I think that flaming and related items are not okay, I am sure that
Julian did not mean to be harmful. Julian may be a small amount frustrated
with the problems, as I would be if I was him.
We should just all be careful of what we say, as it might offend someone.
Let's let Julian have a break.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Wed Jul 02, 2003 6:08 am Post subject: |
|
|
agreed...we all have our off day
serge _________________
|
|
| Back to top |
|
 |
sieber Newbie
Joined: 01 Jul 2003 Posts: 13 Location: Germany
|
Posted: Wed Jul 02, 2003 6:43 am Post subject: |
|
|
In earlier version of VDS, the debugger was an interpreter. Now it first compile the Pgm and then it starts the Pgm. That mean they must use a type of communication for this two jobs (IDE and Pgm).
If they poll for some action -> the CPU use 100%. Maybe they can do a little sleep or wait. You can simulate the same with VDS itself.
| Code: |
rem simulate a use of 100% CPU
option decimalsep,.
rem option sleeptime,0 -> 100% CPU
rem option sleeptime,1 -> running in the background
option sleeptime,0
%%Counter = 500000
repeat
%%Counter = @pred(%%Counter)
wait 0.0001
until @zero(%%Counter) |
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Wed Jul 02, 2003 8:02 am Post subject: |
|
|
'm sorry that some people don't like my turn of phrase but I'm not a PR person or a diplomat. I get tired when people install these stupid resource monitors and then start worrying about the information they are giving them. This is not restricted to users of VDS.
Any polling process will show 100% CPU usage if nothing else is running that can use the CPU. Windows is a multi-tasking system and it will allocate CPU time to other processes *if* other processes need it. People should let Windows take care of managing its own resources and not waste time trying to check up on it. If people were complaining that other things weren't running properly while the IDE was being used then that would deserve a reasonable response, but having spent more time using VDS 5 the last year or so than anyone I know that is not the case. The fact that a CPU monitor is showing 100% usage is not, in itself, of any importance. It just shows that nothing else needed the CPU so Windows is giving it to the VDS debugger's polling process. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Wed Jul 02, 2003 9:54 am Post subject: |
|
|
| Skit3000 wrote: | If I am running multiply processes on my PC, and I start the taskmanager, the total number of CPU usage is above 100%...  |
I think this could be caused by the percentages being rounded off to whole percents. |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 02, 2003 1:38 pm Post subject: |
|
|
I think Tommy means if you have 100.97174561% processor usage, it
would be rounded off to 101%  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|