 |
 | Interesting DBG problem on Windows |  |
Joined: 16 Apr 2005 |
Posts: 3 |
Location: Seattle |
|
 |
Posted: Fri Apr 15, 2005 1:08 am |
|
 |
 |
 |
 |
Hi there,
I think I may have found an interesting problem with DBG 2.11.32 running in PHP 4.3.10 and Apache, on top of Windows XP SP2.
My web server setup is vanilla Xampp 1.4.13, switched to use PHP 4 instead of PHP 5.
I have correctly installed php_dbg.dll into the extensions directory (after removing the version suffix from the file extension), and verified by looking at phpinfo() output.
I have set my file paths correctly and under certain conditions DBG will stop on breakpoints in .php files: I have to change the file content or attributes (say, using Cygwin touch) and then the debugger works correctly.
If I run more debugging sessions after terminating the first session, DBG doesn't stop on breakpoints. Instead it indicates a breakpoint status of ENABLED | UNRESOLVED.
If I touch the file again the next debugging session works - the status is ENABLED and execution stops when the breakpoint is hit.
Subsequent debugging sessions again don't work, until touching some more...
I have used two different clients - dbg-cli and PHP Eclipse; no difference.
I have also experimented with DBG in PHP and Apache on Linux (Fedora Core 3) and everything works beautifully.
I'm really curious about what might be going wrong here, and then I'd like to know whether the latest, commercial version of DBG also could have this problem. I'd not want to spend on the NuSphere IDE unless the debugger works for me.
Cheers, and thanks - Stefan
|
|
 |
 | |  |
 |
 | |  |
Joined: 05 Jan 2005 |
Posts: 16 |
Location: Austria |
|
 |
Posted: Mon Apr 25, 2005 3:31 am |
|
 |
 |
 |
 |
don't use the php version that is distributed with xampp, use a version from www.php.net instead.
|
|
Site Admin
Joined: 13 Jul 2003 |
Posts: 8361 |
|
|
 |
Posted: Mon Apr 25, 2005 6:27 am |
|
 |
 |
 |
 |
ANYWAY, touching the file to get them seen by PHP is not a good solution and LOOKS like a kind of cache is there between php engine and HTTP client (browser). Indeed, you may want to try another PHP distro, like TechPlatform (NuSphere) or original php available from www.php.net.
Also, you may want to check your present php configuration and try to REMOVE modules loaded via zend_extension/zend_extension_ts/extension lines, one by one.
|
|
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
|
|
|
|  |