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개)

Yongjian Feng
Yongjian Feng 2021년 7월 20일

0 개 추천

Just hit continue? This is just a breakpoint.

댓글 수: 6

Jan Neggers
Jan Neggers 2021년 7월 21일
I did, but after 100 continues I'm still in the same breakpoint.
Yongjian Feng
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
Jan Neggers 2021년 7월 21일
it still stops at the same point. I can continue, but nothing really changes.
Jan Neggers
Jan Neggers 2021년 7월 28일
bump, anyone?
Yongjian Feng
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
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에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 7월 20일

댓글:

2023년 2월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by