NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Some difficulties on unixware 7.1.1


Joined: 16 Nov 2004
Posts: 2
Reply with quote
Hi,
I have some difficulties making dbg work on unixare 7.1.1.
I successfully compiled dbg-2.11.30 on the server. Running a phpinfo script, i see "with DBG v2.11.30, (C) 2000,2004, by Dmitri Dmitrienko"

On my windows client machine i installed PHPEdit, that is bundeled with DBG Listener version 2.11.26.

I configured phpEdit to use the debugger. I wrote a sample script. When executing it from an internet browser, it works correctly, but
DBG Listener doesn't receive anything at all (i traced with a packet sniffer that there is no connection on port 7869 of my client machine).
There is no connection probleme between client and server because when i try "telnet myClient 7869" from the server, i see a log in the DBG listener.

When tryinig to execute the script from phpEdit, phpEdit says there is a timeout while starting the debugging session (and DBD Listener doesn't receive anything at all).

In php.ini, i tryed to set "debugger.JIT_host = clienthost" or "debugger.JIT_host = XX.XX.XX.XX" (my real IP address).

[debugger]
debugger.enabled = true
debugger.profiler_enabled = true
;debugger.JIT_host = clienthost
debugger.JIT_host = XX.XX.XX.XX
debugger.JIT_port = 7869
debugger.JIT_enabled = true

So, i compiled DBG with "--with-dbg-trace" option. Here is what i see in dbg.log :


dbg_activate Zend extension
TS_ALLOC_CTOR_FUNCTION(DBG)
php_dbg_clearruntimeglobals
dbg_op_array_ctor
dbg_op_array_handler /intradoc/intradoc_php/htdocs/essai.php:(null)
error_cb
err:"Division by zero"
dbg_op_array_dtor
dbg_deactivate Zend extension
TS_ALLOC_DTOR_FUNCTION
module_cleanup
socket = (0)
php_dbg_clearruntimeglobals


I don't understand what is wrong... Is it a problem that de DBG Listener version is not exactly the same as the DBG server version ?

Help would be appreciated...
Samuel
View user's profileFind all posts by samSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
please try to compile without profiler.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 16 Nov 2004
Posts: 2
Reply with quote
Hi,
Thank's for the response.

I compiled dbg without the profiler, on my uniware box (i'm using php 4.3.8 ). The result was the same : no connexion etablished on port 7869 of the client box when launching the following URL :
http://server:9301/script.php?DBGSESSID=1@clienthost:7869
(9301 is the port of my http server... I supposed it's not a problem ?)

I also tried setting
Code:
debugger.profiler_enabled = false
in php.ini. (same result)


Then i made some tests on a Linux server (redhat ES 3.0, with php 4.3.2). I installed on the server precompiled versions of dbg : version 2.11.30, and then version 2.11.26. The result was the same : no connexion etablished on port 7869 of the client box...

Then, on the linux box, i installed dbg 2.16.14 (precompiled version), and on the client machine, i installed phpEd 3.3.3 (evaluation version, with dbg listener 2.16.12). In this configuration, it works... Rolling Eyes

(I cannot try dbg 2.16.14 on unixware : no precompiled version available, and no sources available Sad ).
I really don't know why i can't make a 2.11.x work...
View user's profileFind all posts by samSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Well. Let's go deeper. Please contact me through support AT nusphere DOT com.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Some difficulties on unixware 7.1.1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic