NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Site Admin

Joined: 13 Jul 2003
Posts: 8361
Reply with quote
Right, each product has unique features.
BTW did anyone try new profiler?

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


Joined: 07 Mar 2020
Posts: 4
Reply with quote
Quote:
each product has unique features.


as for vscode and xdebug it looks like unique critical issue Smile which make nusphere ide better than other.
View user's profileFind all posts by michail.samoloSend private message


Joined: 04 Nov 2019
Posts: 18
Reply with quote
dmitri wrote:
Right, each product has unique features.
BTW did anyone try new profiler?


An error occurs when launching the profiler.
Code:

Project ... raised error E_ERROR with message
"Failed to allocate buffer (0)MB for Flame Graph Profiler,
configured buffer size is too small" at index.php, line 9


The error occurs in any script, on the very first line containing an actual action.
The debugger is excellent as always.

v22, remote, ubuntu24, php82.
View user's profileFind all posts by radiySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8361
Reply with quote
You need to run the FlameGraph profiler from the IDE, and the buffer size for FlameGraph in the debugger settings should be set to a reasonable non-zero value. Start with the default setting of 80 MB.

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


Joined: 04 Nov 2019
Posts: 18
Reply with quote
dmitri wrote:
You need to run the FlameGraph profiler from the IDE, and the buffer size for FlameGraph in the debugger settings should be set to a reasonable non-zero value. Start with the default setting of 80 MB.


The value Buffer Size: 80 was already set by default. I was indeed running the program from the IDE. The error disappeared after I ran the debugger once with the option "Run profiler with debugger" enabled. After that, it no longer mattered whether the option was enabled or not.

Senks.
View user's profileFind all posts by radiySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8361
Reply with quote
Sounds like -- you changed the settings and only after that they were saved, so the 80MB value actually took effect. Previously, it likely wasn’t applied at all.
We'll investigate this issue, thanks for the report

P.S. Could you share your experience with the FlameGraph profiler? I’d really appreciate feedback.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
support PHP 8.4
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 2 of 2  

  
  
 Reply to topic