Giter Site home page Giter Site logo

Comments (17)

kaihaase avatar kaihaase commented on May 24, 2024 2

menu

from webgrind.

francoisjacquet avatar francoisjacquet commented on May 24, 2024

I have somewhat the same configuration as @PetrHar

; Webgrind (Xdebug profiling)
xdebug.mode = develop,profile
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /tmp

The issue is a bit different though:
The cachegrind.out file data is displayed well, but when clicking on any arrow to expand (toggleCallInfo), the "Loading..." message is displayed and the computer freezes shortly after.

Tested with webgrind 1.7.0 too, same issue.

from webgrind.

alpha0010 avatar alpha0010 commented on May 24, 2024

Difficult to find time to develop a project I am not actively using, but I will try to take a look sometime this week.

from webgrind.

kaihaase avatar kaihaase commented on May 24, 2024

@PetrHar for xdebug version 3 you need to change line 138 of config.php (in version 1.8.0 of webgrind):
$dir = ini_get('xdebug.profiler_output_dir'); => $dir = ini_get('xdebug.output_dir');

see https://xdebug.org/docs/upgrade_guide#changed-xdebug.profiler_output_dir

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

@PetrHar for xdebug version 3 you need to change line 138 of config.php (in version 1.8.0 of webgrind):
$dir = ini_get('xdebug.profiler_output_dir'); => $dir = ini_get('xdebug.output_dir');

see https://xdebug.org/docs/upgrade_guide#changed-xdebug.profiler_output_dir

I edited the line, the result is the same

from webgrind.

kaihaase avatar kaihaase commented on May 24, 2024

I edited the line, the result is the same

I had the same problem, but was able to fix it with this. But of course it can have several causes. Which error message is displayed in the Console of the browser? Which responses do the XHR requests in the Network deliver?

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

Console:
ncaught TypeError: Cannot read properties of undefined (reading '4') at getCachedSortType (jquery.tablesorter.js:482) at multisort (jquery.tablesorter.js:436) at HTMLTableElement.<anonymous> (jquery.tablesorter.js:617) at HTMLTableElement.handle (eval at <anonymous> (jquery.js:11), <anonymous>:1:26157) at HTMLTableElement.eval (eval at <anonymous> (jquery.js:11), <anonymous>:1:23905) at Object.trigger (eval at <anonymous> (jquery.js:11), <anonymous>:1:25523) at HTMLTableElement.eval (eval at <anonymous> (jquery.js:11), <anonymous>:1:28478) at Function.each (eval at <anonymous> (jquery.js:11), <anonymous>:1:8461) at init.each (eval at <anonymous> (jquery.js:11), <anonymous>:1:1089) at init.trigger (eval at <anonymous> (jquery.js:11), <anonymous>:1:28454)
XHR:
image

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

Console:
ncaught TypeError: Cannot read properties of undefined (reading '4') at getCachedSortType (jquery.tablesorter.js:482) at multisort (jquery.tablesorter.js:436) at HTMLTableElement.<anonymous> (jquery.tablesorter.js:617) at HTMLTableElement.handle (eval at <anonymous> (jquery.js:11), <anonymous>:1:26157) at HTMLTableElement.eval (eval at <anonymous> (jquery.js:11), <anonymous>:1:23905) at Object.trigger (eval at <anonymous> (jquery.js:11), <anonymous>:1:25523) at HTMLTableElement.eval (eval at <anonymous> (jquery.js:11), <anonymous>:1:28478) at Function.each (eval at <anonymous> (jquery.js:11), <anonymous>:1:8461) at init.each (eval at <anonymous> (jquery.js:11), <anonymous>:1:1089) at init.trigger (eval at <anonymous> (jquery.js:11), <anonymous>:1:28454)
XHR:
image

from webgrind.

kaihaase avatar kaihaase commented on May 24, 2024

Which browser do you use?

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

Which browser do you use?

Chrome
I have tested other browsers IE, Firefox

from webgrind.

kaihaase avatar kaihaase commented on May 24, 2024

Could you provide the responses from the XHRs?

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

{"functions":[],"summedInvocationCount":0,"summedRunTime":0,"dataFile":null,"invokeUrl":"","runs":0,"breakdown":{"internal":0,"procedural":0,"class":0,"include":0},"mtime":"2021-09-08 09:09:32","linkToFunctionLine":false}

from webgrind.

kaihaase avatar kaihaase commented on May 24, 2024

Are there any entries in the DataFile Select (select box with default option "Auto (newest)" in the menu)?

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

Unfortunately, I can't find the menu. Can you direct me?

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

It's functional. Thank you very much for your help.

from webgrind.

kaihaase avatar kaihaase commented on May 24, 2024

You're welcome, but what exactly was the problem / solution?

from webgrind.

PetrHar avatar PetrHar commented on May 24, 2024

Just edit that line 138. Then I tested it wrong. I didn't select the debug file from the menu.

from webgrind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.