Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT xdebug: missing breakpoint_set
PDT xdebug: missing breakpoint_set [message #647736] Sat, 08 January 2011 11:38 Go to next message
Volker Gehrs is currently offline Volker GehrsFriend
Messages: 2
Registered: January 2011
Junior Member
Hi,

in my configuration xdebug does not stop at breakpoints.
xdebug_break() and stop on first line is working.

I am using PDT 2.2.1 on a windows7 system. The server is running under opensuse 11.3 with php 5.3.2 and xdebug v2.1.0.
In the xdebug log on the server I am missing the command to set breakpoints.
When I try to remove a breakpoint I see error in xdebug log which says that no such breakpoint was set before.

Any ideas?

Here is my xdebug log.
Log opened at 2011-01-08 11:19:58
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///srv/www/htdocs/Studienmanager/index.php" language="PHP" protocol_version="1.0" appid="4460"><engine version="2.1.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2010 by Derick Rethans]]></copyright></init>

<- feature_set -i 22 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="22" feature="show_hidden" success="1"></response>

<- feature_set -i 23 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="23" feature="max_depth" success="1"></response>

<- feature_set -i 24 -n max_children -v 31
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="24" feature="max_children" success="1"></response>

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

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

<- stdout -i 27 -c 2
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="27" success="1"></response>

<- stderr -i 28 -c 2
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr" transaction_id="28" success="0"></response>

<- run -i 29
-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXN0cmljdC5kdGQiPgo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94aHRtbCI+CjxoZWFkPgogICAgPG1ldGEgaHR0cC1lcXVpdj0iY29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiIC8+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVN0eWxlLVR5cGUiIGNvbnRlbnQ9InRleHQvY3NzIiAvPgogICAgPG1ldGEgbmFtZT0ia2V5d29yZHMiIGNvbnRlbnQ9ImphdmFzY3JpcHQgZnJhbWV3b3JrLCBSSUEsIFNQQSwgY2xpZW50IFNPQSwgbGluYiwganNMaW5iLCBSQUQsIElERSwgV2ViIElERSwgd2lkZ2V0cywgamF2YXNjcmlwdCBPT1AsIG9wZW5zb3VyY2UsIG9wZW4tc291cmNlLCBBamF4LCBjcm9zcy1icm93c2VyLCBwcm90b3R5cGUsIHdlYjIuMCwgcGxhdGZvcm0taW5kZXBlbmRlbnQsIGxh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0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPgoKLy9saW5iLnNldEFwcExhbmdLZXkoJ2FwcCcpOwpsaW5iLlVJLnNldFRoZW1lKCdkZWZhdWx0Jyk7CmxpbmIuQ29tLmxvYWQoJ0FwcCcsIGZ1bmN0aW9uKCl7bGluYignbG9hZGluZycpLnJlbW92ZSgpfSwgJ2VuJyk7CiAgICAgICAgPC9zY3JpcHQ+CjwvYm9keT4KPC9odG1sPg==]]></stream>

-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="29" status="stopping" reason="ok"></response>

<- stop -i 30
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="30" status="stopped" reason="ok"></response>

Log closed at 2011-01-08 11:20:03


Thanks in advance.
Volker
icon14.gif  Re: PDT xdebug: missing breakpoint_set [message #648401 is a reply to message #647736] Wed, 12 January 2011 17:54 Go to previous message
Volker Gehrs is currently offline Volker GehrsFriend
Messages: 2
Registered: January 2011
Junior Member
It is working now.
The error was on my side. "Skip all breakpoints" has been activated.
And I was wondering from the beginning why Eclipse has such a strange icon for a breakpoint. Embarrassed

But one thing seems still strange for me.
If breakpoints are configured to be skipped, and breaking on first line is enabled.
The debugger stops on first line. Ok.
But when I now remove the skipped breakpoint the command breakpoint_remove is sent to the server and the response is:
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_remove" transaction_id="125" status="break" reason="ok"><error code="205"><message><![CDATA[no such breakpoint]]></message></error></response>

The response from xdebug seems to be resonable because breakpoint was really not set before from xdebug point of view.
But eclipse should not trigger this command if the breakpoint was not set before.

Regards!
//Volker
Previous Topic:Problems with PHP Debug Variables View
Next Topic:Eclipse Key Settings for Tab Navigation
Goto Forum:
  


Current Time: Thu Apr 25 06:00:31 GMT 2024

Powered by FUDForum. Page generated in 0.02829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top