This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155687 - xdebug error when watches
Summary: xdebug error when watches
Status: RESOLVED DUPLICATE of bug 146724
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 16:54 UTC by gbenrais
Modified: 2009-03-12 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gbenrais 2008-12-17 16:54:48 UTC
I followed the tutorials to install xdebug with XAMPP. I as try to step over the first breakpoint, I got 'socket
exception occured'. I removed all the watches and now it works. These watches were set in the projets under NB 6.1. As I
set new breakpoints now, in any project, there is no error.
If it helps, here is xdebug's log :
Log opened at 2008-12-16 16:23:36
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///T:/gbenrais/devlpt/projetudes/index.php" language="PHP" protocol_version="1.0" appid="4476"
idekey="netbeans-xdebug"><engine version="2.0.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2008 by Derick
Rethans]]></copyright></init>

<- feature_get -i 80 -n max_data
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="80" feature_name="max_data" supported="1"><![CDATA[1024]]></response>

<- breakpoint_set -i 81 -t line -s enabled -f file:///T:/gbenrais/devlpt/projetudes/index.php -n 11
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="81" state="enabled" id="44760001"></response>

<- run -i 82
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
transaction_id="82" status="break" reason="ok"><xdebug:message
filename="file:///T:/gbenrais/devlpt/projetudes/index.php" lineno="11"></xdebug:message></response>

<- stack_get -i 83
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
transaction_id="83"><stack where="{main}" level="0" type="file"
filename="file:///T:/gbenrais/devlpt/projetudes/index.php" lineno="11"></stack></response>

<- context_names -i 84
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names"
transaction_id="84"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>

<- eval -i 85 -- bGliZWwudmFsdWU=
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval"
transaction_id="85"><property address="107739624" type="string" size="10"
encoding="base64"><![CDATA[bGliZWx2YWx1ZQ==]]></property></response>

<- eval -i 86 -- di5nZXROYW1lKCk=
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval"
transaction_id="86" status="stopping" reason="ok"></response>

<- context_get -i 87 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get"
transaction_id="87"><error code="5"><message><![CDATA[command is not available]]></message></error></response>

Log closed at 2008-12-16 16:23:37
Thanks,
Ghislain
Comment 1 rmatous 2008-12-17 16:59:51 UTC
thanks gbenrais,
could you also try to attach original socket exception, hopefully will be in NB log, which you can find when using main
menu View->IDE Log, thanks
Comment 2 rmatous 2009-03-12 15:42:48 UTC
xdebug bug

*** This issue has been marked as a duplicate of 146724 ***