The Ultimate Qt Community site
Home News Forum Wiki Contest FAQ Links

Go Back   Qt Centre Forum > KDE > KDE Programming

KDE Programming KDE programming issues.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th February 2008, 16:07
GreyGeek GreyGeek is offline
Intermediate user
 
Join Date: Jan 2006
Location: Lincoln, NE USA
Qt products used: Qt4
Qt platforms used: Unix/X11, Windows
Posts: 176
Thanks: 3
Thanked 6 Times in 5 Posts
Thumbs up KATE with Kdbg in PCLinuxOS 2008 MiniMe

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!

Last edited by GreyGeek; 19th February 2008 at 16:08. Reason: typo
Reply With Quote
  #2  
Old 26th February 2008, 22:13
elcuco elcuco is offline
Advanced user
 
Join Date: Jan 2006
Qt products used: Qt4
Qt platforms used: Unix/X11, Windows
Posts: 295
Thanks: 11
Thanked 13 Times in 13 Posts
Default Re: KATE with Kdbg in PCLinuxOS 2008 MiniMe

....? gcc fast?
On my system, gcc is 3 times slower the cl.exe from VisualStudio 9. Dud, you are using VS6, please upgrade (you can download the "free" version at no cost from MS site).

Reply With Quote
  #3  
Old 27th February 2008, 23:43
wysota wysota is offline
Guru
 
Join Date: Jan 2006
Location: Warsaw, Poland
Qt products used: Qt3, Qt4
Qt platforms used: Unix/X11, Windows
Posts: 11,288
Thanks: 3
Thanked 1,589 Times in 1,541 Posts
Default Re: KATE with Kdbg in PCLinuxOS 2008 MiniMe

Quote:
Originally Posted by elcuco View Post
On my system, gcc is 3 times slower the cl.exe from VisualStudio 9.
Full or incremental link in the latter? Or are we talking about just the unit compilation time here?

Reply With Quote
  #4  
Old 9th May 2008, 17:13
GreyGeek GreyGeek is offline
Intermediate user
 
Join Date: Jan 2006
Location: Lincoln, NE USA
Qt products used: Qt4
Qt platforms used: Unix/X11, Windows
Posts: 176
Thanks: 3
Thanked 6 Times in 5 Posts
Default Re: KATE with Kdbg in PCLinuxOS 2008 MiniMe

Quote:
Originally Posted by elcuco View Post
....? gcc fast?
On my system, gcc is 3 times slower the cl.exe from VisualStudio 9. Dud, you are using VS6, please upgrade (you can download the "free" version at no cost from MS site).
Well, as it is often said, "YMMV".

I use VS at work on their dime.

On my own equipment I run Linux exclusively, so a "free" anything from MS would not be of value to me. Thanks anyway!

Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 16:00.

Powered by vBulletin Version 3.7.1 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd., vRewrite 1.5 SEOed URLs completed by Tech Help Forum and Chalo Na.
© 2006–2008 Qt Centre - The Ultimate Qt Community site
Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.