Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] dbgp encoded property values


  does anyone know if the dbgp spec defined what the property element is supposed to look like when it contains the encoded  value data? the spec  gives this:
<property
name="short_name"
fullname="long_name"
type="data_type"
classname="name_of_object_class"
constant="0|1"

children="0|1"
size="{NUM}"
page="{NUM}"
pagesize="{NUM}"
address="{NUM}"
key="language_dependent_key"
encoding="base64|none"

numchildren="{NUM}">
...encoded Value Data...
</property>
  but it seems to leave open exactly how the encoded value data is stored within the property element.

  it seems that the active state's perl debugging engine returns a property element that looks like this:

  <property fullname="$num" name="$num" encoding="base64" type="scalar" constant="0" children="0" size="5" >
    <value encoding="base64">
      <![CDATA[NQ==]]>
    </value>
  </property>

  while the tcl implementation returns this:

  <property name="$a" fullname="$a" type="string" size="1" children="0" encoding="base64">
    <![CDATA[Mw==]]>
  </property>

  the parseContent method in DbgpXmlParser does not look to see if the property element has any grand children that may contain the value instead.

--
-jae

Back to the top