LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KDevelop: only to develop GUI applications? (http://www.linuxquestions.org/questions/linux-newbie-8/kdevelop-only-to-develop-gui-applications-896947/)

stf92 08-12-2011 06:56 AM

KDevelop: only to develop GUI applications?
 
Kernel 2.6.21.5, slackware 12.0
Kdevelop 3.3.91

Hi:
I am, for the first time, writing a C program of a pretty good size and, when I am done compiling, I'll have to begin debugging. I know of dbg, but was thinking in one of those integrated development environments (IDEs). Looking into my HDD, I found a KDevelop package and began to see what it was about. The documentation (help) is copious and it seems I will never get to the point in the docs where I'll know if it serves my purpose. For I'm afraid it is intended to develop appls for KDE, when in reality, my appl runs in a text console.

So that is the question. Is KDevelop mainly intended for developing GUI applications? Thanks.

eSelix 08-12-2011 07:16 AM

Not only, you can write console applications too. Check also the QtCreator, as in my opinion it is better.

stf92 08-12-2011 07:31 AM

Thanks. I'll try to download QtCreator, as it does not seem strange to me it is better than KDevelop, Kdevelop being a KDE appl. (Example, I cannot think of a worst PDF reader than kpdf).

theNbomr 08-12-2011 08:27 AM

It sounds like you are simply looking for a software developer's IDE. There are alternatives that are more generic in nature, such as Netbeans (formerly Java-specific, but now more general purpose), and Eclipse. If your focus is more related to debugging, there are also GUI front ends to gdb. The one I sometimes use is ddd.

--- rod.

stf92 08-12-2011 08:45 AM

Yes, the debugger thing is what matters me most. Wikipedia says kdevelop has an integrated debugger, but my version (3.3.91) seems to be a frontend to dbg too. The Step entries in the Debug menu are disabled.

I'll try to install ddd. Thanks.

EDIT: In the Programming forum, I've have just seen a sticky thread: List of Free Software and Freeware IDEs.

theNbomr 08-12-2011 09:02 AM

In Linux, you will probably find that all common debugging tools are based on gdb. It sounds like you object to this. What is your objection?
--- rod.

eSelix 08-12-2011 09:41 AM

Quote:

Originally Posted by stf92 (Post 4440855)
The Step entries in the Debug menu are disabled.

Do remember to switch your project to debug mode and start program under debbuger (as you can compile it without debug support and/or run without connected debugger), there should be keyboard shortcuts to do this.

stf92 08-12-2011 12:15 PM

Quote:

Originally Posted by theNbomr (Post 4440872)
In Linux, you will probably find that all common debugging tools are based on gdb. It sounds like you object to this. What is your objection?
--- rod.

No. I thought the F7 or F8 keys would be funtional, with a bar showing the place where control is in the source program, and that the debugger would step trough the C source program and not throu the assembler one.

Quote:

Originally Posted by eSelix (Post 4440910)
Do remember to switch your project to debug mode and start program under debbuger (as you can compile it without debug support and/or run without connected debugger), there should be keyboard shortcuts to do this.

Yes, I have yet to read (or at least to skim through) the manual. Thank you.


All times are GMT -5. The time now is 02:38 PM.