Saturday, June 14, 2008

running YaST in debugger

First of all - I like Python.
Second - we have some prototype for mysql-server configuration written in Python I never tried before.

So I check-in code from subversion and try to run. Unfortunately it exits with some errors like "couldn't initialize UI". So I open the code in Eric - great Python debugger.

With breakpoints, globals and locals variables dispatcher it was really easy to find problematic places in code. Also possibility to write code interactively into interpreter is very helpful.
And finally module runs ;-)

video
Sorry, video is pretty slow - probably ati driver problem ;-(

2 comments:

Michal Žugec said...

Because of bad video quality, I created new one here

Martin Vidner said...

If anyone wants to try that module, svn co http://svn.opensuse.org/svn/yast/trunk/mysql-server or browse it.