Debugging console app

General questions regarding the usage of CodeLite
Matti
CodeLite Curious
Posts: 2
Joined: Sun Dec 27, 2009 1:28 am
Genuine User: Yes
IDE Question: C++
Contact:

Debugging console app

Post by Matti »

Hi

Latest version of Ubuntu and CodeLite.
I am quite new to Linux and new to CodeLite.
I am making quite large program which should read input file, process it and make output files.
Input file and some options on command line.
If I try run program with Quick Debug, where I can define program arguments , it works but method is very slowly to compare run program with commandline arguments. How it is possible run/debug program faster than line by line?

If I try to run program with terminal, i got only message "command programname was not found". I can se the executeable in terminalm window and in Nautilus.

thanks
Matti
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging console app

Post by eranif »

Matti wrote:If I try run program with Quick Debug, where I can define program arguments , it works but method is very slowly to compare run program with commandline arguments.
I am not sure what you mean here, I will assume that you meant: it takes some extra keys each time to setup the program + arguments and then debugging.

Instead of using the 'Quick Debug' method, which is there to allow using codelite as a pure interface to gdb, you could try to debug the active project.

Please read this:

http://codelite.org/LiteEditor/Debugging

- Make sure that the executable to debug is set properly in the 'Project Settings > General tab', under 'Program to Debug / Run'

Eran
Make sure you have read the HOW TO POST thread
Matti
CodeLite Curious
Posts: 2
Joined: Sun Dec 27, 2009 1:28 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugging console app

Post by Matti »

Well, the problem was that program didnt start to run in console with commandline arguments(input file etc), dont know why, now it does. :D
Thanks
Post Reply