NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Single stepping is very slow


Joined: 03 Feb 2008
Posts: 45
Reply with quote
I am using v5.2 build 5223 - I don't know what happened but now single-stepping takes about 4 seconds to go from one line of code to the next. What has happened to make this so slow? It did not used to be like else or else I would have pulled my hair out long before today.

Thank you.
View user's profileFind all posts by a_edwallSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
It may happen if you are debugging over slow network and have too many data in current scope (check globals and locals), or if you have too many entries in the Watch window.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Feb 2008
Posts: 45
Reply with quote
I disabled my Globals and Locals to see what difference that would make. Now I can't get them back. What do I do? Thank you.
View user's profileFind all posts by a_edwallSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
did you close them or disable?
If you closed, just start debug session and open via View->Debug windows->Locals/Globals.
If you disable, start debug session, right click on them and make enabled in the popup menu.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Feb 2008
Posts: 45
Reply with quote
How do I get rid of a local or global variable that is in the Locals or Globals window? I can disable, but not delete.
View user's profileFind all posts by a_edwallSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
probably not what you need but unset($variablename) will drop the varable.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
I had this exact same problem. Turns out it was caused by huge arrays, as suggested by dmitri. Seems that if you are using tons of memory in your PHP script debugging can get really slow, so don't go overboard.
View user's profileFind all posts by rudderSend private message
[resolved] Single stepping is very slow
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic