Hi,

You can import and execute the following in Eclipse. (It needs Ryu 3.19)

----------8<----------8<----------
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

from ryu.cmd import manager


def main():
    sys.argv.append('your.application.module')
    sys.argv.append('--verbose')
    sys.argv.append('--enable-debugger')
    manager.main()

if __name__ == '__main__':
    main()
----------8<----------8<----------

2015-03-06 17:50 GMT+09:00 ビバ9╆ <lycheng...@qq.com>:

> Dear all
>        when I developing a ryu APP, it is very very inconvenient for I
> don't know how to using eclipse(or other IDE) to debug the ryu code. And I
> also want to know which method you used to debug  is convenient,  when
> developing the ryu APP. I know how to use eclipse to debug the python
> program, but how to debug ryu I don't know how to setting it .
>
>         I have afflict by this problem for a long time, if anyone can
> give me some helps ,thank you very much.
>        If it's complex to setting, add my QQ please,My number is 279401355.
>
> Best Regards
> PanCheng
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>


-- 
Satoshi KOBAYASHI <satosh...@stratosphere.co.jp>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to