standalone debugger daemon

View: New views
4 Messages — Rating Filter:   Alert me  

standalone debugger daemon

by Yoso Kama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello!
For a small application of mine that allows python scripting I would like to add single step execution, maybe more debug functionality later.
I think that the pydevd daemon may be the ideal solution. Is it documented somewhere if and how to use pydevd without the rest of the PyDev environment?

Thank you
Yoso


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code

Re: standalone debugger daemon

by Fabio Zadrozny-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Yoso,

> For a small application of mine that allows python scripting I would like to
> add single step execution, maybe more debug functionality later.
> I think that the pydevd daemon may be the ideal solution. Is it documented
> somewhere if and how to use pydevd without the rest of the PyDev
> environment?

Not really... but you should be able to get to it from the tests (they
are not extensive, but I think you should be able to track how
messages are received/sent from the debugger). The tests are at:
http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/tests_python/

and the file: http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/pydevd_comm.py
should have an overview of the communication commands.

Cheers,

Fabio

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code

Re: standalone debugger daemon

by Yoso Kama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Fabio,
thank you for the reply. While looking at the pydevd sources another question came up:

It looks like it is only usable with the PyDev Extension which is not open source. Is this correct? Or can pydevd act as a debug server which other clients can connect to without any closed source extensions?

Thank you
Yoso

>> For a small application of mine that allows python scripting I would like to
>> add single step execution, maybe more debug functionality later.
>> I think that the pydevd daemon may be the ideal solution. Is it documented
>> somewhere if and how to use pydevd without the rest of the PyDev
>> environment?
>
>Not really... but you should be able to get to it from the tests (they
>are not extensive, but I think you should be able to track how
>messages are received/sent from the debugger). The tests are at:
>http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/tests_python/
>
>and the file: http://svn.aptana.com/svn/pydev/trunk/plugins/org.python.pydev.debug/pysrc/pydevd_comm.py
>should have an overview of the communication commands.


     


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code

Re: standalone debugger daemon

by Fabio Zadrozny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hello Fabio,
> thank you for the reply. While looking at the pydevd sources another question came up:
>
> It looks like it is only usable with the PyDev Extension which is not open source. Is this correct? Or can pydevd act as a debug server which other clients can connect to without any closed source extensions?

That's not really correct. Other clients can connect without any
closed source extensions (there is a remote debugger part that's
closed source, but that's mostly related to the communication in the
Eclipse side of things... which are only distributed with Pydev
Extensions).

Cheers,

Fabio

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
pydev-code mailing list
pydev-code@...
https://lists.sourceforge.net/lists/listinfo/pydev-code