Eclipse 2019-03 C/C++ lldb debugger setup on macOS Catalina - eclipse

I'm trying to set up lldb debugger on Eclipse and I follow this link https://wiki.eclipse.org/CDT/User/FAQ#How_do_I_get_the_LLDB_debugger.3F
Follow by the paragraph "How do I install the LLDB debugger integration?", the content is out-of-date and I try to google but still can't find the answer. My problems are:
In my Eclipse Help > Install new Software, I can find any C/C++ LLDB Debugger Integration option to install.
I'm using Xcode version 12 and it no longer support lldb-mi.
Can anyone help me on this thank you.

lldb-mi is no longer part of the basic lldb distribution, but you can get the sources (and instructions on building it) here:
https://github.com/lldb-tools/lldb-mi

Related

How do I install gdb on a Macbook M1 to use it in Eclipse?

I am quite new to the programming world and am trying to learn some coding on Eclipse by following a guided self-study book.
For the course I should use Eclipse with gdb for debugging. Unfortunately I cannot get gdb working; I managed to follow the steps in this file (https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html) and everything worked, excpet for gdb to relaunch after quitting. So now I am quite clueless about how to proceed?
I also tried installing it via Homebrew, but when executing
brew install gdb
I get the message
gdb: The x86_64 architecture is required for this software. Error: gdb: An unsatisfied requirement failed this build.
I know that there are issues with gdb on Mac with M1 chip, but is there any way to resolve this? My computer knowledge isn't very good as for know, so I probably need quite a step-by-step guidance.
Thank you very much in advance!
GDB has not been ported to MacOS for the M1 (AArch64) architecture. The lldb debugger is available for MacOS on M1, you could consider using that debugger.

Can you please help me with my Eclipse build error

I have made a basic Android App for my studies in Eclipse 2020-12 (lines up with the study module).
Now I want to run my app in the emulator to test it, but when I click on Run (the green little arrow), I get the error below. How do I fix it?
I followed these steps to install and setup my Eclipse:
https://www.javatpoint.com/how-to-setup-android-for-eclipse-ide
I have the following installed:
JRE 1.8.0,
jdk-7u80-windows-x64,
eclipse2020-12-inst-jre-win64,
Java 8,
Android SDK
Keep in mind, I am new to all of this so you will have to give me Android for Dummies step by step instructions, lol.
Edit:
Extra Info

Error installing Codename One plugin on Eclipse

I started developing in Codename One a few days ago, using IntelliJ, but since it was causing some problems, I decided to try it with Eclipse.
I got a fresh install of Eclipse Proton for Java developers on my Mac Pro running OS Sierra 10.12.6 and I can't install the Codename One plugin.
I can find it in the marketplace, but when I try to install it starts the process but soon stops and pops this message. After I press ok, I can select features to install as seen here. After I press Confirm it does nothing, and presents this. I have already installed other plugins successfully, this is the only one giving me troubles.
I tried accessing that link but it leads to a standard 404 error page on codenameone's website.
I can't seem to find a way around this, as even trying to install the plugin through Eclipse marketplace website leads to this error.
Any help is appreciated :)

Eclipse Segfault (OSX)

I'm trying to start eclipse but it crashes after the splash screen and before workspace selection.
This is version: eclipse-java-indigo-SR2-macosx-cocoa-x86_64 on Mac OSX 10.6.8
Launching the eclipse application or executing the alias from a shell ./eclipse (or Eclipse.app/Contents/MacOS/eclipse) results in a segfault.
$ ./eclipse
Invalid memory access of location 0x10 rip=0x7fff84ea3164
Segmentation fault
However, it runs successfully as the super user
$ sudo ./eclipse
Password:
This is fine for now, but running eclipse under sudo does not seem like a good idea.
To make this stranger still, this installation of eclipse worked fine a few months ago and I can't remember changing anything relevant.
Any ideas?
Thanks
Before taking the more drastic step of re-installing Java on Mac OS X [not always so simple :( .. ], I just reinstalled Eclipse and ADT - and it worked fine after that.
In my case, I got this error trying to start Eclipse
Segmentation fault: 11
.. it appeared in my Eclipse ADT setup after I updated the Android SDK for Google Play Services, and then tried to run Installation of update from "Check For Updates". Restarting the computer did not help.
I would try re-installing Java. The Apple installer might thwart you, but this can help get past it.
I'd suggest getting the Java Developer package from Apple, as it includes Javadoc and source for the core libraries.

Unable to start Stanford's CS106A Eclipse version - "Unable to access jarfile startup.jar" on Mac 10.6

I've been trying to do the Stanford CS106A course through iTunesU, but I keep running into problems with Eclipse. I tried getting Stanford's custom version with Karel, but that kept giving the "unable to access jarfile startup.jar" error. I even tried getting a current version and trying the instructions on http://www.freesoftwaremagazine.com/articles/getting_stanfords_karel_robot_run_debians_eclipse, but that threw null pointer exceptions when I tried to run a programming assignment.
I'm not sure what information to give, but I'm running Mac OS 10.6.8 (64-bit, I think?), and my Java version is 1.6.0_22.
Any help you can give me would be greatly appreciated. I've got algorithms in my head, and I need to get them out! :)
The correct download link for the Eclipse package recommended by the course is actually via the class page here: http://www.stanford.edu/class/cs106a/
The software link is in the sidebar, but it uses frames so it's difficult to link directly. Here's the software page without the navigation:
http://www.stanford.edu/class/cs106a/software/
I had the same problem and had followed an older handout that pointed me to an older version of eclipse, I think pre OSX Tiger that will never work. Thanks for the tip pointing me to the right location, I downloaded it from http://www.stanford.edu/class/cs106a/ and it worked right away. Thanks becw
For those that are interested, this is even working in MAC OSX 10.10.1