Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Python Debugger
oBFusCATed:
--- Quote from: falldog on September 21, 2012, 05:43:44 am ---I create the patch by Git, but it's size over the post maximum
--- End quote ---
You can pastebin it somewhere or you can post it in the patch tracker.
By the way - have you tried to zip it?
Falldog:
--- Quote from: oBFusCATed on September 21, 2012, 08:45:08 am ---
--- Quote from: falldog on September 21, 2012, 05:43:44 am ---I create the patch by Git, but it's size over the post maximum
--- End quote ---
You can pastebin it somewhere or you can post it in the patch tracker.
By the way - have you tried to zip it?
--- End quote ---
--- Quote ---
--- End quote ---
Dear oBFusCATed,
you are so smart!
Thanks! XD
The patch include some python files, I don't know how to pack it for run-time use
Current stage, only can run in fix path of rpdb2.py (Please modify the EXECUTE_CMD macro in PyDebugger.cpp)
Non-finish work : watch children, and thread list
[attachment deleted by admin]
dmoore:
I haven't run it yet, but looking at the patch this looks very nice indeed! Some nice clean up of my ugly code too :)
One minor question is why not use something like XMLRPC instead of socket libs to make the remote calls back and forth a bit cleaner? (Built into python, a few options for C++, but nothing wxWidgets specific, I guess). I have some experimental code for a python interpreter around that uses XMLRPC.
This one looks like it has a simple API: http://xmlrpc-c.sourceforge.net/example-code.php
Falldog:
--- Quote from: dmoore on September 21, 2012, 03:25:58 pm ---I haven't run it yet, but looking at the patch this looks very nice indeed! Some nice clean up of my ugly code too :)
One minor question is why not use something like XMLRPC instead of socket libs to make the remote calls back and forth a bit cleaner? (Built into python, a few options for C++, but nothing wxWidgets specific, I guess). I have some experimental code for a python interpreter around that uses XMLRPC.
This one looks like it has a simple API: http://xmlrpc-c.sourceforge.net/example-code.php
--- End quote ---
ya, you look at the good point,
I implement it in short term way,
maybe json or XMLRPC is good way in future.
I would like to use json (because I am not familiar with XMLRPC ...)
I had use json to handle socket related communication, and python had good support and easy with it
On the other, I am wondering about performance of current implementation in socket,
Maybe use pipe is better!?
And... may I use the open source code(like rpdb2 or JsonCpp) directly in CB?
I am not sure the licence is okay...
oBFusCATed:
--- Quote from: falldog on September 21, 2012, 04:51:13 pm ---And... may I use the open source code(like rpdb2 or JsonCpp) directly in CB?
I am not sure the licence is okay...
--- End quote ---
It depends on the future goals for the plugin. If you'd want to add it to our repo minimizing the dependencies should be your priority. Otherwise you can use whatever you want.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version