I have a problem with xdebug that does not stop at breakpoints when using remote debugging (everything is fine when running scripts through the command line). It will break in the first line of the program, and then exit, and will not catch breakpoints.
It worked fine until I switched to using MacPort for Apache and PHP. I tried recompiling it several times (with multiple versions), but without the dice.
I am using PHP 5.3.1 and Xdebug 2.1.0-beta3
I also tried at least 3 different debugging programs (MacGDBp, Netbeans and JetBrains Web IDE).
My php.ini settings look like this:
[xdebug] xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_port=9000 xdebug.remote_host=localhost xdebug.idekey=webide
And when I register the debugger output, setting a breakpoint looks like this: /;
<- breakpoint_set -i 895 -t line -f file:///Users/WM_imac/Sites/wm/debug_test.php -n 13 -s enabled -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="895" state="enabled" id="890660002"></response>
At startup, the debugger will receive the context of the first line of the application, then send disconnect and stop messages.
However, this line is displayed when the debugger starts.
<- feature_get -i 885 -n breakpoint_types -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="885" feature_name="breakpoint_types" supported="1"><![CDATA[line conditional call return exception]]></response>
Is there a conditional call exception to a conditional call? mean anything?
debugging php xdebug
Bryan M. Mar 01 '10 at 22:50 2010-03-01 22:50
source share