Hi,

oh I see. If your Python process could open a TCP connection to a Workstation, then you should really use pydevd remote debugging. See https://pypi.python.org/pypi/pydevd. If the current version of the pydevd module is too demanding for your hardware, you may want to use older versions of Pydev. Every version starting with 3.7.0 is functional. To get 3.7.0 simply get http://netcologne.dl.sourceforge.net/project/pydev/pydev/PyDev%203.7.0/PyDev%203.7.0.zip and extract the sub-folder plugins\org.python.pydev_3.7.0*\pysrc.

If you can't use remote debugging you have to roll your own debugger extension. Look at the code of pydevd_stackless.py (function _schedule_callback) and at the documentation of stackless.set_schedule_callback (http://stackless.readthedocs.io/en/latest/library/stackless/stackless.html#stackless.set_schedule_callback) and tasklet.trace_function (http://stackless.readthedocs.io/en/latest/library/stackless/tasklets.html#tasklet.trace_function)
See also https://bitbucket.org/stackless-dev/stackless/issues/83


Regards
   Anselm




Otherwise look at the documentation of

Am 14.06.2016 um 13:07 schrieb Temp Sha:
I run stackless python on some specific low end networking hardwares
where it is not possible to install eclipse and the suggested
debuggers.
any alternatives to use these debuggers? something like using with
remote debugging support etc?


thanks

On Tue, Jun 14, 2016 at 3:13 PM, Anselm Kruis
<[email protected]> wrote:
Hi,

In short: pdb is not sufficient to debug stackless programs.

The problem is, that pdb doesn't recognize a tasklet switch and therefore
you can't step.

I recommend the Pydev.Debugger which is part of Eclipse Pydev, LiClipse and
PyCharm.

Regards
  Anselm



Am 14.06.2016 um 09:54 schrieb Temp Sha:

Is stackless python, under linux, fully compatible with pdb? I found
that step command of pdb does not work in my case. Any idea on pdb
support in stackless python?


thanks.....

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless


--
 Dipl. Phys. Anselm Kruis                       science + computing ag
 Senior Solution Architect                      Ingolstädter Str. 22
 email [email protected]             80807 München, Germany
 phone +49 89 356386 874  fax 737               www.science-computing.de

--
Vorstandsvorsitzender/Chairman of the board of management:
Dr. Martin Matzke
Vorstand/Board of Management:
Johannes Barthmes, Yvonne Veyhelmann
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Aufsichtsrat/Supervisory Board:
Martin Wibbe, Winfried Holz
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless


--
 Dipl. Phys. Anselm Kruis                       science + computing ag
 Senior Solution Architect                      Ingolstädter Str. 22
 email [email protected]                         80807 München, Germany
 phone +49 89 356386 874  fax 737               http://de.atos.net/sc

--
Science + Computing AG
Vorstandsvorsitzender/Chairman of the board of management:
Dr. Martin Matzke
Vorstand/Board of Management:
Johannes Barthmes, Yvonne Veyhelmann
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Aufsichtsrat/Supervisory Board:
Martin Wibbe, Winfried Holz
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to