Hello,
When I remotely debug in NetBeans 6.8, an IDE breakpoint will not halt
execution, but xdebug_break() will. With xdebug_break() everything seems
to work fine; the IDE exposes the globals, stacks, etc.
I'm running PHP 5.3.0/Apache 2.2.12/xdebug 2.0.4 on OSX.
(XAMPP Mac OS X 1.7.2a)
Log excerpt w/ breakpoint:
<- breakpoint_set -i 221 -t line -s enabled -f
file:///Applications/XAMPP/xamppfiles/htdocs/index.php -n 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="221" state="enabled" id="361280001"></response>
<- step_into -i 222
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="222" status="stopping" reason="ok"></response>
Log excerpt w/ xdebug_break():
<- step_into -i 228
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="228" status="break" reason="ok"><xdebug:message
filename="file:///Applications/XAMPP/xamppfiles/htdocs/index.php"
lineno="3"></xdebug:message></response>
<- stack_get -i 229
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
transaction_id="229"><stack where="xdebug_break" level="0" type="file"
filename="file:///Applications/XAMPP/xamppfiles/htdocs/index.php"
lineno="3"></stack><stack where="{main}" level="1" type="file"
filename="file:///Applications/XAMPP/xamppfiles/htdocs/index.php"
lineno="3"></stack></response>
<- context_names -i 230
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names"
transaction_id="230"><context name="Locals" id="0"></context><context
name="Superglobals" id="1"></context></response>
<- context_get -i 231 -c 0
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get"
transaction_id="231" context="0"></response>
<- context_get -i 232 -c 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get"
transaction_id="232" context="1">
...snip list of properties...
</response>
<- run -i 233
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
transaction_id="233" status="stopping" reason="ok"></response>
Any ideas?
Steve
-- http://mrclay.org/Received on Fri Feb 05 2010 - 18:50:55 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST