I'm trying to debug application with LLDB on macOS. Debug just not starting, yet just running works. Playing with parameters doesn't help. I 'm able to launch lldb manually from terminal and debug my app.
Versions:
OS: macOS Mojave 10.14.1
Codelite: 12.0.10 (downloaded from one of recent thread about fixing wxCrafter black background)
Compiler: Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Debugger: lldb-1000.11.38.2
Cannot debug using LLDB on macOS Mojave
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Nov 12, 2018 8:13 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6373
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot debug using LLDB on macOS Mojave
Just tested this and I can successfully debug "hello world" test program on my Mac book.
Try increasing CodeLite log level (Preferences->Misc->Log->Developer) and try to debug again.
The log is written into ~/Library/Application Support/codelite/codelite.log
Try increasing CodeLite log level (Preferences->Misc->Log->Developer) and try to debug again.
The log is written into ~/Library/Application Support/codelite/codelite.log
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Nov 12, 2018 8:13 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot debug using LLDB on macOS Mojave
Thanks for hints, here's what I got:
Looks like variables expanding problem?
Code: Select all
[01:10:50:537 DBG] [Main] codelite-lldb: could not create target for file /Users/pztrn/Projects/test/wxwidgets/SPG/cmake-build-$(WorkspaceConfiguration)/output/spgclient. unable to find executable for '/Users/pztrn/Projects/test/wxwidgets/SPG/cmake-build-$(WorkspaceConfiguration)/output/spgclient'
- eranif
- CodeLite Plugin
- Posts: 6373
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot debug using LLDB on macOS Mojave
Indeed. Can you try and change it manually from the project settings?
Replace the string $(WorkspaceConfiguration) with the actual configuration name (usually its Debug or Release)
Replace the string $(WorkspaceConfiguration) with the actual configuration name (usually its Debug or Release)
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Mon Nov 12, 2018 8:13 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Cannot debug using LLDB on macOS Mojave
Yes, that worked. Should I report this on Github?