Page 1 of 1

Active Project does not run as expected

Posted: Mon Apr 05, 2010 9:53 pm
by jbarnesweb
When I run the default project (Ctl+F5), I get the following output:

Code: Select all

Current working directory: /home/jeffbarnes/svn/Device/DeviceApp/Executor/Debug
Running program: /usr/bin/codelite_xterm './Executor  --debug=0xFFFF --console' '/bin/sh -f /usr/bin/codelite_exec LD_LIBRARY_PATH=/usr/local/asm/lib ./Executor  --debug=0xFFFF --console'
Program exited with return code: 0
The second and third lines are all on the same line.

The program should not have exited.

When I cut and paste everything after "Running program: " to the end of the line, the xterm comes up and the program does not exit. When I run the program in the codelite debugger, the program does not exit.

In the project settings, under the General tab, I have the following values:

...
Intermediate Directory: ./Debug

Program: ./$(ProjectName)
Program Arguments: --debug=0xFFFF --console
Working Directory: $(IntermediateDirectory)

The Settings->Environment Variables looks like this:

LD_LIBRARY_PATH=/usr/local/asm/lib
CodeLiteDir=/usr/share/codelite

Why doesn't the Ctl-F5 or the Green Arrow (Run Active Project) run as expected?

Re: Active Project does not run as expected

Posted: Mon Apr 05, 2010 10:40 pm
by eranif
Do you get an error in the trace tab?

Eran

Re: Active Project does not run as expected

Posted: Mon Apr 05, 2010 11:00 pm
by jbarnesweb
No error in the trace tab. Last entry was
01:38:28 PM: Launching console: /usr/bin/codelite_xterm '"./Executor"' 'sleep 94738'