I am running Eclipse Helios on Mac OS X Leopard. I would like to remote debug a C++ application. I tried to find a decent tutorial but found nothing, anybody could help?
Related
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.
I Installed eclipse on my new mac m1 chip machine, It was working fine until I restart my machine. After restart the machine, the eclipse app is not opening also no error is shown in the display..
I am trying to open the app in terminal I am getting the following error
rosetta error: /var/db/oah/223263137464320_223263137464320/27e2cf6e452a44ee1a3ccc20e0409d562f65d18f27dd9ff3ebd552b78e52a4e3/eclipse.aot: attachment of code signature supplement failed: 3 Trace/BPT trap: 5
the solution giving in this is to upgrade the OS, but I already upgraded to the new OS version.
I can't find a solution anywhere, even in Apple forum sites
I faced a similar issue today. In my case, I'm using Anypoint Studio, which is built on top of Eclipse 4.19. After updating the OS, it worked again.
I wanted to start PHP development and installed Apache, php 7.1 and xdebug with homebrew on my mac with OSX Sierra. Often (but not always), when I go to debug mode in Eclipse and step through my code, Eclipse stops working and crashes hard (program doesn't respond anymore).
Now I absolutely have no clue where I could start to analyze the error. Maybe it's an issue with Eclipse and XDebug?
Any idea where where to start and where I could find some helpful information (logs etc.)?
Yesterday I decided to start developing Android in my mac (Snow Leopard 10.6.8) 32-bit.
Everything was ok, i also imported my workspace which i worked in Linux for months. I open a project and compiles perfectly.
When i try to run the project it gives me this error :
"...android/sdk/tools/emulator64-arm : BAD CPU Type in executable"
I am using eclipse juno for mobile developers and downloaded the latest android sdk for mac
It looks like a 32-bit 64-bit issue. But i couldnt solve it yet.
Anyone had the same issue ?
I already found the problem.
Under the directory, android-sdk/tools/, i deleted every executable related to 64-bit system. Those files are :
emulator64-arm , emulator64-x86 etc.
Then relaunch the project and now it is working like a charm.
Hopefully this helps to anyone who suffers from the same issue.
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.