Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7907

DBGp proxy client sends wrong IDE key

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.4.1
    • Fix Version/s: None
    • Component/s: Debugging, PHP
    • Labels:
      None
    • Environment:

      Windows XP SP3 i686

      Description

      In Preferences > Aptana Studio > Editors > PHP > Debug, I have XDebug configured, with DBGp proxy support enabled and IDE key aschulma. When I start a debug session, the DBGp proxy reports

      INFO: dbgp.proxy: Server:onConnect ('127.0.0.1', 41239) [proxyinit -p 9000 -k aschulma -m 0]

      So far, so good. The IDE key is correct (aschulma). But the debug session fails, and the proxy keeps reporting errors like this:

      INFO: dbgp.proxy: connection from 127.0.0.1:39342 [<__main__.sessionProxy instance at 0x8ec368>]
      DEBUG: dbgp.proxy: session getting data
      DEBUG: dbgp.proxy:    data: ['481\x00<?xml version="1.0" encoding="iso-8859-1"?>\n<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///srv/bzr/aschulma/echo/index.php" language="PHP" protocol_version="1.0" appid="15888" idekey="aschulma_137236659462310"><engine version="2.2.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]></copyright></init>\x00']
      DEBUG: dbgp.proxy: session dispatching call '<?xml version="1.0" encoding="iso-8859-1"?>\n<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///srv/bzr/aschulma/echo/index.php" language="PHP" protocol_version="1.0" appid="15888" idekey="aschulma_137236659462310"><engine version="2.2.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]></copyright></init>'
      WARNING: dbgp.proxy: No server with key [aschulma_137236659462310], stopping request [<__main__.sessionProxy instance at 0x8ec368>]
      INFO: dbgp.proxy: session stopped
      

      Notice that Aptana sent idekey="aschulma_137236659462310", not idekey="aschulma". And the DBGp proxy rightly answered, "No server with key [aschulma_137236659462310]", since that's not the key that the client registered with.

      I've tried a variety of different IDE keys with the DBGp proxy, even an empty one, which Aptana fills in with a default value. But in every case, the client appends some other stuff to the key that it sends, breaking the debug session.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              andrex Andrew Schulman
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code