I was getting this error message:
Failed to run DBG session
reason:
client ip address [NULL] lookup failed
This script reproduces the problem:
but this script
does not reproduce the problem:
Naturally I set the register globals directive back on, and set variable order to "SE". The problem disapeared.
I'm guessing that some PHP optimization (or perhaps apache ?) is not fetching the _SERVER data unless it's explicitly required by the script, and apperently DBG does not inform PHP that it needs that data, and simply gets a null and the rest is history.
I have saved a copy of my php.ini and compilation switches, I'll send them by email if you'll need them.