Victor Lazzarini wrote:
> Hello everyone,
>
> when debugging an activity how does one get stderr/stdout
> messages from Python in sugar. It is quite hard to debug blindly, not
> knowing what errors Python is spewing out.
>   
Start your activity from a developer's console (ALT-=) using:

    sugar-activity YourActivityName

and the console should be treated as stdin/out/err for your activity.

http://wiki.laptop.org/go/Developers#How_do_I_test_a_Sugar_activity.3F

HTH,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com

_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to