フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to debug on Mac platform MEX files built from multiple source files using Xcode?

1 回表示 (過去 30 日間)
Samuel Gingras
Samuel Gingras 2016 年 12 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I’d like to debug MEX files built from several source files but I have some trouble, the program never stop at any breakpoint! Here's what I did.
I have three source files wrote in c, one with the mexFunction and the others with some computational routines. I compiled those successfully in Matlab using mex –g. Then I created a project with Xcode following the instruction in Matlab documentation.
https://www.mathworks.com/help/matlab/matlab_external/debugging-on-mac-platforms.html
I set a breakpoint at the beginning of the mexFunction and ran the binary but the program never stops at the breakpoint.
I tried with the example provide in the documentation, yprime.c, and it works perfectly, every breakpoint that I set are hits.
I don’t see why it doesn’t work when I do the same but with multiple files.
Thanks for help!
Sam

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by