Debug MEX using Xcode on an M1 MacBook
显示 更早的评论
Hello,
I'm trying to get debugging working for my MEX files using XCode. I've followed this tutorial:
However, when attaching (even before I run my mex file), XCode throws a break point on: MCR Interpreter thread (see image).
- Is this related to Rosetta?
- Is there a work around?

1 个评论
jinsong
2022-6-24
Hi, I meet the same problem, did you solve it?
回答(1 个)
Yongjian Feng
2021-7-20
0 个投票
Just hit continue? This is just a breakpoint.
6 个评论
Jan Neggers
2021-7-21
Yongjian Feng
2021-7-21
Try to disable all the break points first? Click that blue button close to the bottom of the editor.
Jan Neggers
2021-7-21
Jan Neggers
2021-7-28
Yongjian Feng
2021-7-28
I don't have a M1 macBook. Need to check if I can get a test env somewhere.
Lukas Heyn
2023-2-14
Hi,
unfortunately, this still does not work, but with a different error:
Java: Java2D Queue Flusher (69): EXC_BAD_ACCESS (code=1, address=0x8)
will this be fixed soon?
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
