[maemo-developers] Debugging Desktop Applets in Python

From: Hannes Wallnoefer hannes at helma.at
Date: Thu Mar 20 11:51:47 EET 2008
Hi,

2008/3/19, Mike Jipping <jipping at hope.edu>:
> I'm writing a desktop applet in Python.
>
>  Debugging this thing is incredibly hard.  I can't do it in Scratchbox,
>  because the hildon desktop bindings are not compiled for it.  Editing
>  is then done on the device.  I thought this would be OK and that the
>  cycle of unselecting/code change/selecting the applet would run the new
>  code changes. But...the system seems to cache the code so that the
>  unselect/select always invokes the same code.  And who knows where
>  even the simple print or logging statements go...

The extras-devel repository does have the python hildondestkop
bindings for i386. You can download them and install  via dpkg -i.

http://repository.maemo.org/extras-devel/pool/chinook/free/p/python-hildondesktop/

print writes to the console in scratchbox, so debugging is pretty simple.

hannes

>  Does anyone have any suggestions for easier debugging of Python desktop
>  applets.  This is my first project in Python (I know...hard project for
>  the first time :-) so I'm open to anything.
>
>  THanks.
>
>    -- Mike
>
>
>  Mike Jipping
>  Hope College Department of Computer Science
>  Holland, MI  49423  USA
>  jipping at hope.edu
>  _______________________________________________
>  maemo-developers mailing list
>  maemo-developers at maemo.org
>  https://lists.maemo.org/mailman/listinfo/maemo-developers
>

More information about the maemo-developers mailing list