Week 4 KDE GSoc
Squashing Bugs⌗
QFileInfo⌗
QFileInfo no longer causes application segmentation fault when the variable does not exist or has not been initialized.
Using python yield⌗
GDB tries to print the least amount of values needed, but if you just return a list is disregards the set print elements no command. to prevent this, the python
key word yield
can be used to lazily compute the next needed values.
QList Printer⌗
QListPrinter in the debug pane now show if it is uninitialized or empty instead of showing an error.
Added Printers⌗
What is next ?⌗
Automatic testing, currently the way I test the printers is to manually compile and compare the debugger’s result with the expected one, but this gets cumbersome. When you add more printers you are not sure how it would affect previous printers.
More on testing next week as the initial step has begun, bye.