Relative Content

Tag Archive for macosgdbadagnat

Debugging Ada in VS Code on macOS (aarch64)

I’ve been trying to get a basic Hello World with debugging going in VS Code (w/ the “Ada & Spark” plugin) on macOS (aarch64) and am not having any luck. I tried the aarch64 alr and gcc, but wasn’t able to start a debugger, which led me to this which makes it look like it’s not supported yet. If that’s not possible, is it possible to run x86_64 (w/ Rosetta) on an aarch64 Mac? I’ve tried to get it going with x86_64 alr and arch -x86_64 alr toolchain --select “gnat_native” which gives an x86_64 toolchain (though I don’t know if this is the right way to try to force x86_64).