[Python-Dev] Using pdb with greenlet

6 views
Skip to first unread message

Salman Malik

unread,
Jun 12, 2012, 3:31:43 PM6/12/12
to pytho...@python.org
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.

Thanks,
Salman

Brian Curtin

unread,
Jun 12, 2012, 3:34:04 PM6/12/12
to Salman Malik, pytho...@python.org
Your question is better suited for python-list rather than python-dev.
This list is for the development *of* Python, not *with* Python.
_______________________________________________
Python-Dev mailing list
Pytho...@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/dev-python%2Bgarchive-30976%40googlegroups.com

Salman Malik

unread,
Jun 12, 2012, 3:35:58 PM6/12/12
to br...@python.org, pytho...@python.org
I am sorry for mailing it to this list.
Thanks for the correction.

Salman


> Date: Tue, 12 Jun 2012 14:34:04 -0500
> Subject: Re: [Python-Dev] Using pdb with greenlet
> From: br...@python.org
> To: salm...@live.com
> CC: pytho...@python.org
Reply all
Reply to author
Forward
0 new messages