GreyGeek
19th February 2008, 16:07
I've been developing QT apps under Linux with KATE as the editor. I had been relying on the output of the gcc compiler for syntactical errors and QDebug output for logical errors.
I decided to give Kdbg a try.
QT4.3.2 was already compiled with debug and release options.
I compiled my app.
I started Kdbg and using the "Executable" menu option I opened the app debug executable. Using the "Sources" menu option I opened the cpp file that I wanted to step through and set some breakpoints. Then I clicked the "Run" icon in Kdbg.
The process works just as well, if not better, than the debug process in MSVS C++ 6.0, and it's faster. The gcc compiler seems to get some errors that cl misses.
I can set permanent or quick watches on every type of variable. I have all the stepping functions and then some. If I click on the little "+" at the head of each line it breaks out the assembler registers and flags for that code section. I can set and remove breakpoints on the go. And more.
In Linux QT/KATE/Kdbg is a powerful app development combination!
I decided to give Kdbg a try.
QT4.3.2 was already compiled with debug and release options.
I compiled my app.
I started Kdbg and using the "Executable" menu option I opened the app debug executable. Using the "Sources" menu option I opened the cpp file that I wanted to step through and set some breakpoints. Then I clicked the "Run" icon in Kdbg.
The process works just as well, if not better, than the debug process in MSVS C++ 6.0, and it's faster. The gcc compiler seems to get some errors that cl misses.
I can set permanent or quick watches on every type of variable. I have all the stepping functions and then some. If I click on the little "+" at the head of each line it breaks out the assembler registers and flags for that code section. I can set and remove breakpoints on the go. And more.
In Linux QT/KATE/Kdbg is a powerful app development combination!