Hi,
let me start with saying that I tried all the hints that are in this forum; I am not able to get around the "Session timeout" error.
I have dbg 2.15.1 installed (tried 2.13.1, too); and PHP 5.1.4 (On Linux). dbg and dbg-cli compiled from source.
The DGB modules is installed (shows in phpinfo() output, in top section as well as "dbg" section).
When I start dbg-cli, I get:
dbg-cli -L /var/www/html/ -R /var/www/html/ -U http://192.168.1.80/ /var/www/html/test.php
[DBG] ListenerBase::ListenerBase
DBG php debugger, version 2.15.1, Copyright 2001, 2006, Dmitri Dmitrienko, www.nusphere.com
[DBG] parse_args(argc=8, argv=-L)
[DBG] arg#=0, c=76 (L)
[DBG] maplocalroot->/var/www/html/
[DBG] arg#=0, c=82 (R)
[DBG] mapremoteroot->/var/www/html/
[DBG] arg#=0, c=85 (U)
[DBG] mapurlroot->http://192.168.1.80/
[DBG] arg#=0, c=-1 (\uffff)
Reading symbols from /var/www/html/test.php...done.
dbg>run
[DBG] ListenerBase::startsession
[DBG] ThreadBase::ThreadBase
[DBG] dbh_create_listen_socket(, 10001)
[DBG] socket=3
[DBG] open_dbg_session
[DBG] open_cgi_session
[DBG] olddir=/usr/local/src/dbg-cli-2.15.1-src
[DBG] path=/usr/local/bin
[DBG] spawn_process /usr/local/bin/php
[DBG] open_cgi_session -> pid=1427, 0
[DBG] Starting peekJIT
[DBG] peekJit(sock=3, sesswt=1000, cliwt=30000, sid=11549255549589790001, SOF=67)
[DBG] peekJIT returned ->-2147467259
[DBG] CGI child process is terminated, 0
[DBG] ThreadBase::close()
Program exited.
Session start timeout has expired.
Program is not being run.
|
php.ini is this:
extension=dbg.so
[debugger]
implicit_flush=on
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 127.0.0.1
debugger.ports=7869, 10001, 10002, 10003, 10000/16
|
And yes, that php.ini is read by /usr/local/bin/php used by dbg-cli (I have php 4 in /usr/bin).
Any hints on what's going wrong?
Thanks
Klaus