Re: [Ryu-devel] Understanding Events in RYU

2014-07-14 Thread Digambar Patil
Thanks Satoshi, Will do the perticular change suggested by you. I understand eventlet doesn't allow for debugger because it internally calls the greenlet threading lib. Thanks for you help. Best Regards, Digambar On Thu, Jul 10, 2014 at 7:28 AM, Satoshi KOBAYASHI < satosh...@stratos

Re: [Ryu-devel] Understanding Events in RYU

2014-07-09 Thread Satoshi KOBAYASHI
Hi, Digambar For your information, Eventlet which is used by Ryu patches Python threading library. Therefore Python debuggers do not work well normally. If you hope to solve this issue, you can patch the following. Python threading library will be not modified by this patch. https://github.com/os

Re: [Ryu-devel] Understanding Events in RYU

2014-07-09 Thread FUJITA Tomonori
On Wed, 9 Jul 2014 22:36:25 +0530 Digambar Patil wrote: > I am debugging ryu code. Started with debugging switch topology > with pdb by using rest client but how to debug event code because at some > point get_switch method calls EventSwitchRequest event in do_request method. >

[Ryu-devel] Understanding Events in RYU

2014-07-09 Thread Digambar Patil
Hello, I am debugging ryu code. Started with debugging switch topology with pdb by using rest client but how to debug event code because at some point get_switch method calls EventSwitchRequest event in do_request method. But after calling this event pdb not attached to further