😕 I couldn't make xdebug work ! I tried APD and DBG too. Here's the problem:
1 - All these extensions didn't load with zend_extension directive, I had to use 'extension' instead.
2 - When they were loaded, all functions got registered, I mean, the function calls are recognized by PHP.
3 - All the returning values are meaningless:
xdebug_get_function_stack() returns an empty Array.
xdebug_call_function always returns {main} even when the function was called from other function.
*xdebug_call_line always returns 0(zero).
The APD and DBG seem to have the same kind of problem.
My PHP version is 4.2.1 compiled with zts and lots of extensions.