Unable to debug more than one page with zend debugger

Trying to debug a Joomla application (1.5.12) with Zend Server and if I place one breakpoint the first time the page loads it works, but after that if I click a link in the joomla website It keeps loading undefinitely, until I stop the debugger in phpstorm, to get a prompt to save the index.php file in the browser and a list of all index.php in joomla directory in a phpstorm prompt. By the way, the same debugging environment works for aptana ide. It is the Zend Server configuration.

6 comments
Comment actions Permalink

Hello Jaime,

As far as I understand you are using Zend Toolbar for debugging, right?
Unfortunately I have already listen about similar issues in the latest build and I am looking for a way to reproduce it.
Please attach your PhpStorm log(take it right after you meet this problem again).
How to take a log - http://devnet.jetbrains.net/docs/DOC-1202(you can avoid the 1,2 and 3 items in case of Zend Debugger)

Thanks for your report!

0
Comment actions Permalink

It generated url like this one:

http://localhost:81/newsite/index.php?send_sess_end=1&original_url=http%3A%2F%2Flocalhost%3A81%2Fnewsite%2Findex.php&use_remote=1&debug_no_cache=1290191109652&start_debug=1&debug_port=10137&debug_session_id=10000&debug_host=172.17.0.21%2C127.0.0.1&debug_start_session=1&send_debug_header=1&debug_fastfile=1


Last lines in phpstorm console:



Debug Strict (PHP 5): Non-static method JResponse::sendHeaders() should not be called statically in D:\ZendServer\Apache2\htdocs\newsite\libraries\joomla\environment\response.php on line 204
Debug Strict (PHP 5): Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context in D:\ZendServer\Apache2\htdocs\newsite\libraries\joomla\session\storage\database.php on line 84
Debug Strict (PHP 5): Non-static method JTable::getInstance() should not be called statically, assuming $this from incompatible context in D:\ZendServer\Apache2\htdocs\newsite\libraries\joomla\session\storage\database.php on line 89
Debug Strict (PHP 5): Non-static method JFactory::getDBO() should not be called statically, assuming $this from incompatible context in D:\ZendServer\Apache2\htdocs\newsite\libraries\joomla\database\table.php on line 112
Start debug file D:\ZendServer\Apache2\htdocs\newsite\index.php


Lastly, after stopping the debugger (because it didn't do anything after clicking something in the webpage) phpstorm requests more memory, as you will see in the output log.

Log output attached.

0
Comment actions Permalink

Hello Jaime,

I cannot find attached log. Did you attach it here or upload to an external resource?

0
Comment actions Permalink

Jaime,

I reproduced the problem and have fixed it. Fix would be available with the forthcoming EAP.
Thanks for your report!

0
Comment actions Permalink

Well will I be able to download that EAP? By the way, could I download the sources and build it by my own? (not sure if sources are available)

0
Comment actions Permalink

Next EAP will be published today.

0

Please sign in to leave a comment.