Hi,
Just thought I'd share my solution...
On a fresh XP machine with sp2 I installed PHPEd 3.3.2 (3378), apache 2.0.50 and php 5.0.1 as a module... phpinfo.php worked like a charm.
I added this to my php.ini:
extension=php_dbg.dll-5.0.1
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 127.0.0.1
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
|
The error:
Whenever I pressed the single-step button in PHPEd, the following error was presented:
Quote: |
DBG
Failed to run DBG session
reason:
client ip address [NULL] lookup failed
debugger request found in "query_string".
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.
|
I imidiatly suspected the new enhanced and improved XP firewall, but that proved not to be the problem..
In an IE browser, I entered
http://localhost/_test.php?DBGSESSID=1@localhost:7869;d=1 |
which started the single-step debugging in PHPed.. Very weird..
Again from PHPEd I pressed the single-step, resulting in the same error as above.. Right-clicking, choosing Properties, revealed this URL:
http://localhost/_test.php?DBGSESSID=382306428853700007;d=1,p=0 |
see the difference? In the browser window opened by PHPEd, the "@localhost:7869" is omitted!
The solution:
In PHPEd I did:
Menu: Tools -> Settings -> Tab: Debugger
Here i deselected the "Auto Select Host" and entered "localhost" in the "Debugger host" field..
Now everything works
Hope it'll help someone
- Philip