HaxeFoundation / HaxeFoundation/hashlink
MacOS debugger not working on Apple Sillicon
Open
- Dominant language
- C
- Stars
- 901
- Forks
- 201
- Avg merge
- 18h 9m
- Merged PRs (30d)
- 8
Description
``TLDR; While it is possible to run an x86_64 version of Hashlink through Apple's Rosetta 2 (on MacOS 12.0) emulation layer, debugging currently is broken.``
The debugger fails at properly attaching to the debugee's process using `ptrace(PT_ATTACHEXC)`. No error is returned, but the `hl` process being debugged enters an odd state and no mach-exception is received on the tracing process. On Intel Mac (also with older MacOS version) this still works as expected.
Any hints are welcome.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.