NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Freezing 30-60 secs on accidental variable mouseover


Joined: 30 May 2006
Posts: 50
Reply with quote
Hi,

this happens quite often - while inside debug session accidentally mouseover-ing on a variable which has large data structure - PHPEd freezes for 30-60 seconds.
It's quite annoying and one cannot actually prevent from mouseovering some variable with large structure.
Would there be any way to limit e.g. structure recursion / somehow prevent it .. ?
It makes no sense to dump into limited screen space large data structure anyway.

Thank you.

View user's profileFind all posts by lubosdzSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8001
Reply with quote
You didn't post any info about the version of the IDE you're running.
Hints have been greatly improved in recent versions.

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


Joined: 30 May 2006
Posts: 50
Reply with quote
Hi Dmitri,

I am using PhpEd 19, build 19025 (Win10).
I see the newest build 19116, which is about 1 year difference between the two versions.

OK, I may try again after I renew my licence ..
Though honestly, I am hesitating between another IDE due to very low progress pace on reported issues / new features ..

I will update info here then, thank you.
Lubos
View user's profileFind all posts by lubosdzSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8001
Reply with quote
My understanding is that the reported issues are fixed. We don't have any ongoing high level or critical issues.
As of the new features - it depends. Indeed, v19.1 didn't offer much, but we were able to focus on _new_features planned for v20.

Regarding your case with hints, I can think of 2 possible root causes -- 1) you work with remote server and your network has poor throughput 2) debugger spends significant time serializing your data.
You can check it by calling dbg_serialize($this) on the line just above the one shown on your screenshot and check how fast debugger converts your object before sending it back to the IDE. In my experience IDE unpacks even very large objects in fraction of a second. The rest is spent in the network.

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


Joined: 30 May 2006
Posts: 50
Reply with quote
Thank you for your fast response & hints.

I am developing on local network (not even local virtual machine - vagrant/docker, just direct WAMP apache on windows), so there should be no internet usage / remote at all.

I guess it could be somehow related to Win10 memory occupation, because after I restart fully IDE it seems that for a while the issue disappears, and after a while comes back again.

I also tried dbg_serialize($this), but I am receiving "[error] [php] dbg_serialize() expects parameter 1 to be unknown, object given (D:\_projects\app\modules\cms\components\CmsProcessor.php:1394)".

OK, I will upgrade to newest version, thank you.

Lubos

PS: Would you mind sharing a little what's coming in PhpEd 20 and when it could be released .. ? Some developers may have happier day Smile
View user's profileFind all posts by lubosdzSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8001
Reply with quote
Seems you didn't get it right. It's certainly remote even though everything is very local and there could be no real network involved at all. After all, drive C:\ from Wine perspectives is not the same as root directory hosting linux persepectives. This fact alone can not allow us to treat php as a locally running service.
From the IDE perspectives, there are just 2 cases - 1) php is running on the physically the same file system space -- it's a local case 2) all other cases are considered remote.

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


Joined: 30 May 2006
Posts: 50
Reply with quote
It's not Wine, it's Windows 10, physically the same file system space.
Please dont worry, I will update PhpEd in near future so the issue might be resolved.
Thank you.
View user's profileFind all posts by lubosdzSend private message
Freezing 30-60 secs on accidental variable mouseover
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