[Python-Dev] Using pdb with greenlet

Brian Curtin brian at python.org
Tue Jun 12 21:34:04 CEST 2012


On Tue, Jun 12, 2012 at 2:31 PM, Salman Malik <salmanmk at live.com> wrote:
> Hi All,
>
> I am sort of a newbie to Python ( have just started to use pdb).
> My problem is that I am debugging an application that uses greenlets and
> when I encounter something in code that spawns the coroutines or wait for an
> event, I lose control over the application (I mean that after that point I
> can no longer do 'n' or 's' on the code). Can anyone of you tell me how to
> tame greenlet with pdb, so that I can see step-by-step as to what event does
> a coroutine sees and how does it respond to it.
>
> Any help would be highly appreciated.

Your question is better suited for python-list rather than python-dev.
This list is for the development *of* Python, not *with* Python.


More information about the Python-Dev mailing list