On Thu, 26 Mar 2009, Ronaldo Ronaldino wrote:
> Hello,
> I try to write a simple program that communicates with pydbgp from Komodo-PythonRemoteDebugging-5.0.3-25622-linux-x86.tar.gz.
>
> How do I evaluate a simple expression like for example "42"?
> Sending this command:
> eval -i 1 -l 2 -- 42
> returns the error:
> <?xml version="1.0" encoding="utf-8"?><response xmlns="urn:debugger_protocol_v1" command="eval" transaction_id="1"><error code="998"><message><![CDATA[global name 'context_id' is not defined]]></message></error></response>
>
> How do I define the global 'context_id' or what else do I have to change?
I've no idea where that error message comes from, but all expressions
should be encoded in base64 encoding, like:
eval -i 1 -- NDI=
regards,
Derick
-- Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org twitter: derickrethansReceived on Fri Mar 27 2009 - 12:34:34 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST