Comments (17)
from webgrind.
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.
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.
@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 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.
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.
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:
from webgrind.
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:
from webgrind.
Which browser do you use?
from webgrind.
Which browser do you use?
Chrome
I have tested other browsers IE, Firefox
from webgrind.
Could you provide the responses from the XHRs?
from webgrind.
{"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.
Are there any entries in the DataFile Select (select box with default option "Auto (newest)" in the menu)?
from webgrind.
Unfortunately, I can't find the menu. Can you direct me?
from webgrind.
It's functional. Thank you very much for your help.
from webgrind.
You're welcome, but what exactly was the problem / solution?
from webgrind.
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)
- Docker image still on 1.8 HOT 12
- Callgrind files HOT 1
- PHP Errors after install on Mac OS HOT 3
- Unable to build docker image
- No output after loading a cachegrind file HOT 12
- Unable to generate call graph on Windows
- JavaScript Error on Version Check
- Compressed Xdebug callgrind files fail to generate call graphs HOT 1
- Filter call graph
- Issue (help/support/misconfiguration) HOT 1
- unable to generate although python3 and dot are installed HOT 2
- BUG - All Profiling files permanently dissapearing from dropdown on reload
- Allow user to upload file directly
- recursive call make function total inclusive cost greater than {main}
- Cannot set properties of undefined (setting 'count')
- docker image for arm64 (Apple M-series processors) HOT 3
- Generated function graph svg is empty
- BlockUI not compatible with updated version of jquery HOT 1
- JavaScript error because of removal of $.browser from jQuery HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgrind.