Skip to content

Instantly share code, notes, and snippets.

@cdaringe
Created January 13, 2016 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdaringe/c60b074eac92537b9b3e to your computer and use it in GitHub Desktop.
Save cdaringe/c60b074eac92537b9b3e to your computer and use it in GitHub Desktop.
vdebug.log-issue060
- [Info] {Wed 13 2016 11:00:30} Searching for win by name /coins/www/html/coins_core/api/handlers/Handler.php
- [Info] {Wed 13 2016 11:00:30} Win 1, name /coins/www/html/coins_core/api/handlers/Handler.php
- [Info] {Wed 13 2016 11:00:30} Returning window number 1
- [Info] {Wed 13 2016 11:00:30} Found connection from ('127.0.0.1', 33881)
- [Info] {Wed 13 2016 11:00:30} Updated line number of breakpoint 11000 to 391
- [Info] {Wed 13 2016 11:00:30} Registering 1 breakpoints with the debugger
- [Debug] {Wed 13 2016 11:00:30} Command: breakpoint_set -i 1 -t line -f file:///coins/www/html/coins_core/api/handlers/Handler.php -n 391 -s enabled
- [Debug] {Wed 13 2016 11:00:30} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="1" state="enabled" id="127440001"></response>
- [Debug] {Wed 13 2016 11:00:30} Command: context_names -i 2
- [Debug] {Wed 13 2016 11:00:30} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="2"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>
- [Debug] {Wed 13 2016 11:00:30} Available context names: {0: 'Locals', 1: 'Superglobals'}
- [Debug] {Wed 13 2016 11:00:30} Command: run -i 3
- [Debug] {Wed 13 2016 11:00:31} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="3" status="break" reason="ok"><xdebug:message filename="file:///coins/www/html/coins_core/api/handlers/Handler.php" lineno="391"></xdebug:message></response>
- [Info] {Wed 13 2016 11:00:31} Getting stack information
- [Debug] {Wed 13 2016 11:00:31} Command: stack_get -i 4
- [Debug] {Wed 13 2016 11:00:31} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="4"><stack where="Handler-&gt;maskUSID" level="0" type="file" filename="file:///coins/www/html/coins_core/api/handlers/Handler.php" lineno="391"></stack><stack where="Handler-&gt;_out" level="1" type="file" filename="file:///coins/www/html/coins_core/api/handlers/Handler.php" lineno="519"></stack><stack where="Handler-&gt;out" level="2" type="file" filename="file:///coins/www/html/coins_core/api/handlers/Handler.php" lineno="468"></stack><stack where="TrackerOptionHandler-&gt;get" level="3" type="file" filename="file:///coins/www/html/coins_core/api/handlers/TrackerOptionHandler.php" lineno="76"></stack><stack where="call_user_func_array" level="4" type="file" filename="file:///coins/www/html/coins_core/vendor/fatfree/3.3.0/lib/base.php" lineno="1384"></stack><stack where="Base-&gt;call" level="5" type="file" filename="file:///coins/www/html/coins_core/vendor/fatfree/3.3.0/lib/base.php" lineno="1384"></stack><stack where="Base-&gt;run" level="6" type="file" filename="file:///coins/www/html/coins_core/vendor/fatfree/3.3.0/lib/base.php" lineno="1305"></stack><stack where="{main}" level="7" type="file" filename="file:///coins/www/html/coins_core/api/index.php" lineno="70"></stack></response>
- [Info] {Wed 13 2016 11:00:31} Moving to current position in source window
- [Info] {Wed 13 2016 11:00:31} Setting source file: /coins/www/html/coins_core/api/handlers/Handler.php
- [Info] {Wed 13 2016 11:00:31} Placing pointer sign on line 391
- [Info] {Wed 13 2016 11:00:31} Getting Locals variables
- [Debug] {Wed 13 2016 11:00:31} Command: context_get -i 5 -c 0
- [Debug] {Wed 13 2016 11:00:31} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="5" context="0"><property name="$data" fullname="$data" address="140484880816400" type="array" children="1" numchildren="13" page="0" pagesize="32"><property name="0" fullname="$data[0]" address="140484880783552" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="1" fullname="$data[1]" address="140484882064200" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="2" fullname="$data[2]" address="140484882062872" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="3" fullname="$data[3]" address="140484882083120" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="4" fullname="$data[4]" address="140484882083264" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="5" fullname="$data[5]" address="140484882084720" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="6" fullname="$data[6]" address="140484882085128" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="7" fullname="$data[7]" address="140484882085536" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="8" fullname="$data[8]" address="140484882085944" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="9" fullname="$data[9]" address="140484882086352" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="10" fullname="$data[10]" address="140484882086760" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="11" fullname="$data[11]" address="140484882087168" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property><property name="12" fullname="$data[12]" address="140484882065352" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9"></property></property><property name="$key" fullname="$key" address="140484880785040" type="int"><![CDATA[0]]></property><property name="$map" fullname="$map" type="uninitialized"></property><property name="$record" fullname="$record" type="uninitialized"></property><property name="$studyId" fullname="$studyId" address="140484880785272" type="int"><![CDATA[2319]]></property><property name="$subject" fullname="$subject" type="uninitialized"></property><property name="$ursiExists" fullname="$ursiExists" address="140484880778648" type="bool"><![CDATA[0]]></property><property name="$usidExists" fullname="$usidExists" address="140484882044552" type="bool"><![CDATA[0]]></property><property name="$usidsForUrsiConversion" fullname="$usidsForUrsiConversion" type="uninitialized"></property><property name="$value" fullname="$value" address="140484880783552" type="object" classname="StudyTrackerResponseOption" children="1" numchildren="9" page="0" pagesize="32"><property name="property_metadata" fullname="$value::property_metadata" facet="static public" address="140484882030912" type="object" classname="ModelProperties" children="1" numchildren="2"></property><property name="view_name" fullname="$value::view_name" facet="static public" address="140484882043952" type="string" size="37" encoding="base64"><![CDATA[bXJzX3N0dWR5X3RyYWNrZXJfcmVzcG9uc2Vfb3B0aW9uc192dw==]]></property><property name="primary_key" fullname="$value::primary_key" facet="static public" address="140484882043768" type="array" children="1" numchildren="1"></property><property name="requiredFields" fullname="$value::requiredFields" facet="static public" address="140484882043624" type="array" children="1" numchildren="2"></property><property name="performance" fullname="$value::performance" facet="static public" address="140484880825488" type="null"></property><property name="dbObj" fullname="$value-&gt;dbObj" facet="protected" address="140484880824072" type="object" classname="BaseAppData" children="1" numchildren="17"></property><property name="id" fullname="$value-&gt;id" facet="public" address="140484882064248" type="int"><![CDATA[21]]></property><property name="tracker_id" fullname="$value-&gt;tracker_id" facet="public" address="140484882083168" type="int"><![CDATA[13]]></property><property name="label" fullname="$value-&gt;label" facet="public" address="140484882065256" type="string" size="3" encoding="base64"><![CDATA[b3Ax]]></property></property><property name="$this" fullname="$this" address="140484880326032" type="object" classname="TrackerOptionHandler" children="1" numchildren="11" page="0" pagesize="32"><property name="returnOut" fullname="$this::returnOut" facet="static protected" address="140484880338928" type="bool"><![CDATA[0]]></property><property name="auth" fullname="$this::auth" facet="static protected" address="140484880338976" type="null"></property><property name="tableMode" fullname="$this::tableMode" facet="static protected" address="140484880339024" type="bool"><![CDATA[0]]></property><property name="apiVersion" fullname="$this::apiVersion" facet="static protected" address="140484880339072" type="int"><![CDATA[1]]></property><property name="db" fullname="$this::db" facet="static protected" address="140484880339120" type="object" classname="BaseAppData" children="1" numchildren="17"></property><property name="super" fullname="$this::super" facet="static protected" address="140484880339168" type="null"></property><property name="studyHandler" fullname="$this-&gt;studyHandler" facet="protected" address="140484880598824" type="object" classname="StudyHandler" children="1" numchildren="10"></property><property name="router" fullname="$this-&gt;router" facet="protected" address="140484879898080" type="object" classname="Base" children="1" numchildren="5"></property><property name="warning" fullname="$this-&gt;warning" facet="protected" address="140484880325192" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="deleted" fullname="$this-&gt;deleted" facet="protected" address="140484880325816" type="array" children="0" numchildren="0"></property><property name="dev" fullname="$this-&gt;dev" facet="protected" address="140484880599864" type="array" children="0" numchildren="0"></property></property></response>
- [Info] {Wed 13 2016 11:00:31} Writing 44 properties to the context window
- [Debug] {Wed 13 2016 11:00:31} Writing to context window:
[ *Locals ] [ Superglobals ]
- Locals at /coins/www/html/coins_core/api/handlers/Handler.php:391
▾ $data = (array [13])
▸ $data[0] = (StudyTrackerResponseOption [9])
▸ $data[1] = (StudyTrackerResponseOption [9])
▸ $data[2] = (StudyTrackerResponseOption [9])
▸ $data[3] = (StudyTrackerResponseOption [9])
▸ $data[4] = (StudyTrackerResponseOption [9])
▸ $data[5] = (StudyTrackerResponseOption [9])
▸ $data[6] = (StudyTrackerResponseOption [9])
▸ $data[7] = (StudyTrackerResponseOption [9])
▸ $data[8] = (StudyTrackerResponseOption [9])
▸ $data[9] = (StudyTrackerResponseOption [9])
▸ $data[10] = (StudyTrackerResponseOption [9])
▸ $data[11] = (StudyTrackerResponseOption [9])
▸ $data[12] = (StudyTrackerResponseOption [9])
⬦ $key = (int) 0
⬦ $map = (uninitialized)
⬦ $record = (uninitialized)
⬦ $studyId = (int) 2319
⬦ $subject = (uninitialized)
⬦ $ursiExists = (bool) 0
⬦ $usidExists = (bool) 0
⬦ $usidsForUrsiConversion = (uninitialized)
▾ $value = (StudyTrackerResponseOption [9])
▸ $value::property_metadata = (ModelProperties [2])
⬦ $value::view_name = (string [37]) `mrs_study_tracker_response_options_vw`
▸ $value::primary_key = (array [1])
▸ $value::requiredFields = (array [2])
⬦ $value::performance = (null)
▸ $value->dbObj = (BaseAppData [17])
⬦ $value->id = (int) 21
⬦ $value->tracker_id = (int) 13
⬦ $value->label = (string [3]) `op1`
▾ $this = (TrackerOptionHandler [11])
⬦ $this::returnOut = (bool) 0
⬦ $this::auth = (null)
⬦ $this::tableMode = (bool) 0
⬦ $this::apiVersion = (int) 1
▸ $this::db = (BaseAppData [17])
⬦ $this::super = (null)
▸ $this->studyHandler = (StudyHandler [10])
▸ $this->router = (Base [5])
⬦ $this->warning = (string [0]) ``
⬦ $this->deleted = (array)
⬦ $this->dev = (array)
- [Info] {Wed 13 2016 11:00:38} Evaluating code: (array) $value
- [Debug] {Wed 13 2016 11:00:38} Command: eval -i 6 -- KGFycmF5KSAkdmFsdWU=
- [Debug] {Wed 13 2016 11:00:38} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="6"><property address="140734452178128" type="array" children="1" numchildren="4" page="0" pagesize="32"><property name="&#0;*&#0;dbObj" address="140484880824072" type="object" classname="BaseAppData" children="1" numchildren="17"></property><property name="id" address="140484882064248" type="int"><![CDATA[21]]></property><property name="tracker_id" address="140484882083168" type="int"><![CDATA[13]]></property><property name="label" address="140484882065256" type="string" size="3" encoding="base64"><![CDATA[b3Ax]]></property></property></response>
- [ERROR] {Wed 13 2016 11:00:38} An error occured: <class 'xml.etree.ElementTree.ParseError'>
Traceback (most recent call last):
File "/home/cdieringer/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 119, in handle_eval
return self.runner.eval(args)
File "/home/cdieringer/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 288, in eval
self.ui.watchwin.accept_renderer(rend)
File "/home/cdieringer/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 377, in accept_renderer
self.write(renderer.render())
File "/home/cdieringer/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 560, in render
properties = self.response.get_context()
File "/home/cdieringer/.vim/bundle/vdebug/plugin/python/vdebug/dbgp.py", line 146, in get_context
for c in list(self.as_xml()):
File "/home/cdieringer/.vim/bundle/vdebug/plugin/python/vdebug/dbgp.py", line 71, in as_xml
self.xml = ET.fromstring(self.response)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: reference to invalid character number: line 2, column 239
- [Info] {Wed 13 2016 11:01:11} Removing breakpoint id 11000
- [Debug] {Wed 13 2016 11:01:11} Command: breakpoint_remove -i 7 -d 127440001
- [Debug] {Wed 13 2016 11:01:11} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_remove" transaction_id="7"><breakpoint type="line" filename="file:///coins/www/html/coins_core/api/handlers/Handler.php" lineno="391" state="enabled" hit_count="1" hit_value="0" id="127440001"></breakpoint></response>
- [Info] {Wed 13 2016 11:01:12} Running
- [Debug] {Wed 13 2016 11:01:12} Command: run -i 8
- [Debug] {Wed 13 2016 11:01:12} Response: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="8" status="stopping" reason="ok"></response>
- [Info] {Wed 13 2016 11:01:12} Debugging session has ended
- [Info] {Wed 13 2016 11:01:12} Closing the connection
- [Debug] {Wed 13 2016 11:01:12} Closing the socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment