I had it working before, but now the debugger stopped working. i have a project that has a console exe and a shared lib. i have LD_LIBRARY_PATH exported when bash starts and the app works from the command line. i can't debug it though. oddly enough, I have a test exe that is a console exe that does work??
any thoughts?
Problem debugging console app that uses share lib in project
-
- CodeLite Curious
- Posts: 4
- Joined: Tue May 01, 2012 5:58 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problem debugging console app that uses share lib in project
Try placing the LD_LIBRARY_PATH under:
'Project settings -> Environment' tab
codelite understands only one format:
The parentheses are important
Eran
'Project settings -> Environment' tab
codelite understands only one format:
Code: Select all
LD_LIBRARY_PATH=/new/path:$(LD_LIBRARY_PATH)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 4
- Joined: Tue May 01, 2012 5:58 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Problem debugging console app that uses share lib in project
thank you )))
--------------
pls note that relative path did not work
--------------
pls note that relative path did not work
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problem debugging console app that uses share lib in project
It does work, its just that codelite 'cd' to the executable path or wherever you told it to 'cd' in project settings -> general -> (Program ro Run / Debug) Working Directorydaliwong wrote:pls note that relative path did not work
Eran
Make sure you have read the HOW TO POST thread