Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5
How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5 [message #1792013] Tue, 10 July 2018 02:40 Go to next message
Clark Sann is currently offline Clark SannFriend
Messages: 3
Registered: July 2018
Junior Member
I have installed Eclipse Photon on MacOS High Sierra but I cannot figure out how to get debugging working with LLDB. LLDB is installed on MacOS with Xcode and I would like to use it. With Eclipse Oxygen there was an add-on for LLDB integration but I cannot find anything similar for Photon.

So how is everyone debugging C / C++ programs on the Mac?

Clark
Re: How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5 [message #1793939 is a reply to message #1792013] Mon, 20 August 2018 21:02 Go to previous messageGo to next message
Andrew Voelkel is currently offline Andrew VoelkelFriend
Messages: 16
Registered: September 2016
Junior Member
I have the same problem, and cannot get dbg to work either, which seems to be common as indicated here:

https://www.thomasvitale.com/how-to-setup-gdb-and-eclipse-to-debug-c-files-on-macos-sierra/

I'm willing to downgrade to Oxygen if I can find the plug-in for lldb, but I can't find it. Can someone send a URL?

Also, it's kind of unbelievable that this thread has got no replies. Is NO ONE doing Eclipse development on Mac native?
Re: How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5 [message #1793940 is a reply to message #1793939] Mon, 20 August 2018 21:23 Go to previous messageGo to next message
Clark Sann is currently offline Clark SannFriend
Messages: 3
Registered: July 2018
Junior Member
I no longer have Oxygen, but I believe it was one of the add-in options...no special URL needed. Try Help / Install New Software. Select All Available Sites, then search for LLDB. That's all I can remember.
Re: How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5 [message #1793942 is a reply to message #1793940] Mon, 20 August 2018 21:36 Go to previous messageGo to next message
Andrew Voelkel is currently offline Andrew VoelkelFriend
Messages: 16
Registered: September 2016
Junior Member
After posting, I found where to find the plug-in, then I discovered it DOES exist for Photon, and it seems to be working for me!
Re: How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5 [message #1793943 is a reply to message #1793942] Mon, 20 August 2018 21:47 Go to previous messageGo to next message
Clark Sann is currently offline Clark SannFriend
Messages: 3
Registered: July 2018
Junior Member
Could you please provide a few more details? What did you install and where did you get it? What did you have to do to get it to work?

I have installed this....

C/C++ LLDB Debugger Integration (experimental) 9.4.3.201802261533 org.eclipse.cdt.llvm.dsf.lldb.feature.group

But I can't get it to work.

[Updated on: Mon, 20 August 2018 21:48]

Report message to a moderator

Re: How setup debugging with LLDB and Eclipse Photon under macOS 10.13.5 [message #1793945 is a reply to message #1793940] Tue, 21 August 2018 00:00 Go to previous message
Andrew Voelkel is currently offline Andrew VoelkelFriend
Messages: 16
Registered: September 2016
Junior Member
Good news is that I found it here:

https://wiki.eclipse.org/CDT/User/FAQ#How_do_I_get_the_LLDB_debugger.3F

Bad news is that it seems to be pretty broken - at least it is for what I've written. I quickly got into a situation where I couldn't drill down into a class instance properly.

I would install gdb but that is apparently a PITA under High Sierra due to security features.
Previous Topic:Direct Remote C++ Debugging error running gdb
Next Topic:Exclude Directory/Files from indexing - failure
Goto Forum:
  


Current Time: Mon Nov 19 06:49:09 GMT 2018

Powered by FUDForum. Page generated in 0.03398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top