I am running CodeLite 16.7 on an M1 mac with 16G of memory. I have successfully built my large application and it runs fine, except I cannot debug it. When I choose either gdb and lldb, there is a flash on the screen as if a debugger pane is starting up. It lasts less than a second and things hang. Here are the project settings:
Output file: $(ProjectName)
Executable to Run/Debug: $(WorkspacePath)/build-$(WorkspaceConfiguration)/bin/$(OutputFile)
Working directory: $(WorkspacePath)/build-$(WorkspaceConfiguration)/lib
Compiler settings: -arch arm64;-g;-O0;-std=c++11;-I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.2 -I/opt/homebrew/include/wx-3.2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -DWXMAC -DWXOSX -DWXOSX_COCOA;-Wno-deprecated-declarations;-Wwritable-strings
Include files settings: .;./include;/usr/local/include;/usr/local/include/wx-3.2;/usr/local/include/wx-3.2/wx/wxsf;/usr/local/include/wx-3.2/wx/wxxmlserializer
Linker settings: -arch arm64;-L/opt/homebrew/lib -framework IOKit -framework Carbon -framework Cocoa -framework QuartzCore -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau_xrc-3.2 -lwx_osx_cocoau_html-3.2 -lwx_osx_cocoau_qa-3.2 -lwx_osx_cocoau_core-3.2 -lwx_baseu_xml-3.2 -lwx_baseu_net-3.2 -lwx_baseu-3.2;-L/usr/local/lib -lmiracl -lntl -lgmp -lOGDF -lCOIN -lemon -lmpfr -lnauty -lvf -lwxcode_gtk2ud_wxsf-3.2
I have used these settings quite a few times during development.
I should say I made the mistake of running the plugin MacBundler, despite the warning for the plugin (ill-advised), and it fouled up my application so it would not run. After a period of time, I finally recreated my application from scratch, and it ran. Could this be a reason why the debugger does not run?
I will appreciate any help that can be provided.