forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Debugging in the IDE takes 100% of CPU
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
sieber
Newbie


Joined: 01 Jul 2003
Posts: 13
Location: Germany

PostPosted: Tue Jul 01, 2003 3:57 pm    Post subject: Debugging in the IDE takes 100% of CPU Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jul 01, 2003 4:29 pm    Post subject: Reply with quote

Same here on Windows XP Professional.
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Jul 01, 2003 7:43 pm    Post subject: Reply with quote

Who cares?
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jul 01, 2003 7:48 pm    Post subject: Reply with quote

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. Wink

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Jul 01, 2003 8:30 pm    Post subject: Reply with quote

Yeah, like me. That's bs.
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Tue Jul 01, 2003 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Jul 01, 2003 11:38 pm    Post subject: Reply with quote

thanks ff for "putting your foot down" on inappropriate comments being posted at this forum...you being one of the forum moderators Smile

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 Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 02, 2003 12:02 am    Post subject: Reply with quote

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. Smile

Let's let Julian have a break. Wink

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Jul 02, 2003 6:08 am    Post subject: Reply with quote

agreed...we all have our off day Sad

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sieber
Newbie


Joined: 01 Jul 2003
Posts: 13
Location: Germany

PostPosted: Wed Jul 02, 2003 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Jul 02, 2003 8:02 am    Post subject: Reply with quote

'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
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jul 02, 2003 9:28 am    Post subject: Reply with quote

If I am running multiply processes on my PC, and I start the taskmanager, the total number of CPU usage is above 100%... Confused
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Wed Jul 02, 2003 9:54 am    Post subject: Reply with quote

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%... Confused


I think this could be caused by the percentages being rounded off to whole percents.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jul 02, 2003 1:26 pm    Post subject: Reply with quote

No, I sometimes have numbers like 75%, 60% and 30%.... Confused
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 02, 2003 1:38 pm    Post subject: Reply with quote

I think Tommy means if you have 100.97174561% processor usage, it
would be rounded off to 101% Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group