NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
freezes for long time, when browser dispays php error


Joined: 14 Apr 2012
Posts: 20
Reply with quote
Hello,

debugging with PhpED works, but with one exception:

everytime I got a php error and the error is displayed in the browser, then PhpED freezes.

This may take only some 10 seconds up to several minutes.

Browser is the current FF 24.0. PhpEd is Version 10 (build 10043). Debugger is also the current version.

Can you give me any hints, how to investigate this further?

Best regards,

Christian
View user's profileFind all posts by cheffSend private message


Joined: 14 Apr 2012
Posts: 20
Reply with quote
No Ideas?

I makes PhpEd pretty much unusable.
View user's profileFind all posts by cheffSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
If you have a lot of variables or watches, when PhpED pauses execution then a lot of data may be transferred. You could try disabling the watch, global and local panels (in that order) to see if that helps. I debug with them all switched on and no noticable delay, but for some projects it could possibly cause slowdowns.
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
did you by a chance turned on "run profiler with debugger"?
it's known that profiler data may be very large and depending on your network, passing this info from the server to client machine may take significiant time.
Check what IDE shows in the status line when it "waits"

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

Joined: 24 Jul 2009
Posts: 737
Reply with quote
Good point. I remember for a long time I had the profiler turned on and that caused me very slow debugging! Wink
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
statements in watch may slowdown too, especially if they call something timeconsuming

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


Joined: 14 Apr 2012
Posts: 20
Reply with quote
Thanks a lot for your response and your ideas!

In the Run&Debug settings the option "Run profiler with debugger" is disabled. So I assume, the profiler may not cause the freeze.

I'll watch the "watch" thing, but usually I only watch plain variables.
View user's profileFind all posts by cheffSend private message


Joined: 14 Apr 2012
Posts: 20
Reply with quote
btw: Does PhpEd some sort of Scanning/Indexing service which I can turn off?
View user's profileFind all posts by cheffSend private message


Joined: 14 Apr 2012
Posts: 20
Reply with quote
Unfortunately the problem still persists.

When the browser displays an php error, phped freezes very often (not always) for 10 to 40 secons.

This makes development very hard.

I suspect that phped is waiting for some disk io. Is this possible?

Does phped has some sort of project source scanning which can be turned off?
View user's profileFind all posts by cheffSend private message


Joined: 14 Apr 2012
Posts: 20
Reply with quote
P.S.: when phped freezes, the cpu usage goes up for that time.

It is not very high - php consumes about 20%, but is frozen.

P.P.S.: I really love phped and would like to stick with it. But these freezes make it impossible to use it. I really appreciate any help!
View user's profileFind all posts by cheffSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
sorry, it's just wrong place to post such reports
Please proceed with ContactUs link at the web site bottom and provide all the details, including system info, phpinfo, script sources.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
freezes for long time, when browser dispays php error
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