|xdebug session is lost after some time without debugging it [message #886285]
||Thu, 14 June 2012 16:17
| Spacesoul blop
Registered: April 2012
I have an issue with xdebug and Eclipse PDT with the debug session being lost over time. |
When I am debuging the code and I catch an error, I usually go to watch variables and search some info in Internet. After some minutes (usually 3 o 4 minutes or more) without debugging the code, the debug session doesnt work anymore and doesnt stop at breakpoints, and I had to completly reset it with 'Terminate' and 'Launch' it again.
I have looked for possible fixes at cookies, session time and php.ini settings but nothing fixed it.
- Windows 2003 32 bits, 2GB RAM.
- php 5.4.0 TS,VC9.
- Xdebug v2.2.0rc1
- Apache 2.2.22
- Eclipse PHP - PDT 3.0.2
Eclipse for PHP Developers 3.0.2.v2011102768
Eclipse Web Developer Tools 3.3.2.v201111030500
Eclipse XML Editors and Tools 3.3.2.v201112072049
phpedit xzend debugger extension
zend_extension = c:\php5\ext\php_xdebug-2.2.0RC1-5.4-vc9.dll
xdebug.remote_port = 9000
xdebug.remote_enable = 1
xdebug.profiler_enable_trigger = "on"
xdebug.profiler_enable = 1
xdebug.profiler_output_name = "cachegrind.out%t"
xdebug.remote_cookie_expire_time = 36000
session.gc_maxlifetime = 36000
Steps already done which didnt fix it:
- Added xdebug cookie expire time and php session.gc_maxlifetime in php.ini, and reset apache server.
- Changed xdebug session expire time to 10 hours instead the one hour default.
- Navigator symfony Cookies are set to expire after one month.
- Other things, I have two computers with the same setup installed and I get the session lost/broken in both of them after 2 or 3 minutes debugging and going out.
It is there anyway I can manually see the cookies of the internal web navigator of Eclipse? I would like to see if the Xdebug cookie is set with the right expire time in the Eclipse internal web navigator and discard that problem.
My php Eclipse PDT version is 3.0.2, should I update some packages or change something to solve the issue?
Any help is welcome, thanks a lot
***I have just seen there is a new version of xdebug, stable release v2.2.0. Testing it right now since seems to solve some problems debugging and stopping at breakpoints
**Edit2: The new stable xdebug v2.2.0 seems to work fine and a lot better than the previous versions. I will do more tests though.
[Updated on: Mon, 18 June 2012 08:48]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.44636 seconds