Closed DengueTim closed 2 years ago
Can you check closed issue #30 How to use with Eclipse on Mac, 7th comment? You probably configured LLDB-MI Debug Process Launcher in Debugger tab of Debug configuration. You must use default GDB (DSF) Debug Process Launcher
Thanks. That works, although inspecting variables still has some problems. I got the impression this is to do with llvm. Do you know if there is any difference between using Apple's clang or using the version through Homebrew?
I don't think it would make a difference. The problem is more that lldb is (or was (7 years ago when I make this app)) more limited than gdb when inspecting variables. lldbmi2 tries to make translation from gdb syntax to lldb syntax, but it could be improved. Could you give me an example of variables not showing correct values? (variable declaration and expression to show variable content). Also, did you try lldb-mi? I'm curious about its progress
Hi, I tried with lldb-mi too. It had similar issues with some variables not showing up. I've actually given up on using Eclipse CDT with llvm on mac. The issue is mainly Eclipse I think, but I don't have the time to dig into the problems and find solutions.
On 10/24/22 9:53 AM, DengueTim wrote:
Hi, I tried with lldb-mi too. It had similar issues with some variables not showing up. I've actually given up on using Eclipse CDT with llvm on mac. The issue is mainly Eclipse I think, but I don't have the time to dig into the problems and find solutions.
— Reply to this email directly, view it on GitHub https://github.com/freedib/lldbmi2/issues/32#issuecomment-1289071521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELWOX3UE56ABHGM3X333UDWE2IFLANCNFSM6AAAAAARJBLC7A. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I too have given up on Eclipse on the Mac ( or Linux ). Eclipse has too much trouble with modern C++ code. I've moved on to VSCode (free) and CLion ($), both of which have excellent Mac support.
Hi, I get the error below on an M1 mac with MacOS 12.2, xcode command line utils 13.4, Eclipse IDE for C/C++ (20220908-1902)
gcc and a few other packages are installed via Homebrew, but not gdb. not sure if that is a factor.
CMake gives:
Have I done something wrong?