jokkedk/webgrind

Update button not work.

Closed this issue · 2 comments

Hi, everybody.

Configured xdebug according to the instructions.
files are created in tmp.
you can see it in the webgrind panel, but after selecting the file and clicking update, the work window appears and disappears immediately.

PHP 7.4.1
Server XAMPP
image
image

Apache logs:

[Sun Jan 19 21:08:20.231980 2020] [php7:notice] [pid 11228:tid 1956] [client ::1:64996] PHP Notice:  Undefined offset: 1 in E:\\xampp\\htdocs\\tools\\webgrind\\library\\Reader.php on line 213, referer: http://localhost/tools/webgrind/
[Sun Jan 19 21:08:20.231980 2020] [php7:notice] [pid 11228:tid 1956] [client ::1:64996] PHP Stack trace:, referer: http://localhost/tools/webgrind/
[Sun Jan 19 21:08:20.231980 2020] [php7:notice] [pid 11228:tid 1956] [client ::1:64996] PHP   1. {main}() E:\\xampp\\htdocs\\tools\\webgrind\\index.php:0, referer: http://localhost/tools/webgrind/
[Sun Jan 19 21:08:20.231980 2020] [php7:notice] [pid 11228:tid 1956] [client ::1:64996] PHP   2. Webgrind_Reader->getFunctionInfo() E:\\xampp\\htdocs\\tools\\webgrind\\index.php:49, referer: http://localhost/tools/webgrind/
[Sun Jan 19 21:08:20.231980 2020] [php7:notice] [pid 11228:tid 1956] [client ::1:64996] PHP   3. Webgrind_Reader->formatCost() E:\\xampp\\htdocs\\tools\\webgrind\\library\\Reader.php:130, referer: http://localhost/tools/webgrind/
[Sun Jan 19 21:08:20.231980 2020] [php7:notice] [pid 11228:tid 1956] [client ::1:64996] PHP   4. Webgrind_Reader->getHeader() E:\\xampp\\htdocs\\tools\\webgrind\\library\\Reader.php:233, referer: http://localhost/tools/webgrind/

webgrind: 1.6.0 and 1.6.1
xdebug: 2.9.1

Python is not required to work?
image

There is a pull request that fixes it for me
#122