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...@stratosphere.co.jp> wrote:

> 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/osrg/ryu/blob/master/ryu/cmd/manager.py#L20
> Before: hub.patch()
> After: hub.patch(thread=False)
>
> Best regards,
> Satoshi
>
> 2014-07-10 2:06 GMT+09:00 Digambar Patil <digambar...@gmail.com>:
>
>> 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
>> operation, can somebody help me to understand the code after this event
>> because I want to know end-end operation here.
>>          Or if you have any guide, please let me know I will go through
>> with that.
>>
>>
>> Thanks,
>> Digambar
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community
>> Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>> _______________________________________________
>> Ryu-devel mailing list
>> Ryu-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
>
>
> --
> Satoshi KOBAYASHI <satosh...@stratosphere.co.jp>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck&#174;
Code Sight&#153; - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to