[xdebug-general] Re: Issues with xDebug

From: Damjan Cvetko <zobo[@]scene-si.org>
Date: Fri, 10 Sep 2010 13:37:21 +0200

> > Hi Jacob.
> >
> > N++ DBGP raw log tells me that XDebug connects to the debugger, it shows
> > that the path maps works (more or less) and it is strange that XDebug
does
> > not stop execution.
>
> It doesn't work, the breakpoints are set like:
>
> breakpoint_set -i 3 -t line -f C:\xampplite\htdocs/test.php -n 9 -s
enabled -h 0 -o >=
>
> where it should be:
>
> breakpoint_set -i 3 -t line -f file:///C:/xampplite/htdocs/test.php -n 9
-s enabled -h 0 -o >=
>
> regards,
> Derick

True, syntax is not correct, however xdebug converts it right:

Send: breakpoint_list -i 4
Recv: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list"
transaction_id="4"><breakpoint type="line"
filename="file:///C:/xampplite/htdocs/test.php" lineno="9" state="enabled"
hit_count="0" hit_condition="&gt;=" hit_value="0"
id="33400001"></breakpoint></response>

Or is it perhaps wrong internaly and just printout works? That would also
explain some things...

Best
-Zobo
Received on Fri Sep 10 2010 - 12:37:22 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST