Page 1 of 1

Compiling for XCode debugging

Posted: Mon Jul 18, 2022 8:26 pm
by Rob68k
I am interested in seeing how things work beneath the hood on a MacOS build but I've run into issues compiling from the XCode IDE.
If this is possible and someone here has done it to the extent where breakpoints can used etc. If be interested to know how much work is required to fix what I have here before I dive in and get my hands dirty.
Building from terminal is absolutely fine just so we're clear.
Many thanks.

Re: Compiling for XCode debugging

Posted: Fri Jul 22, 2022 1:34 pm
by mhoes
Rob68k wrote: Mon Jul 18, 2022 8:26 pm I am interested in seeing how things work beneath the hood on a MacOS build but I've run into issues compiling from the XCode IDE.
If this is possible and someone here has done it to the extent where breakpoints can used etc. If be interested to know how much work is required to fix what I have here before I dive in and get my hands dirty.
Building from terminal is absolutely fine just so we're clear.
Many thanks.
Perhaps this helps ? :

https://docs.mamedev.org/initialsetup/c ... mame.html#
https://docs.mamedev.org/initialsetup/c ... pple-macos

Re: Compiling for XCode debugging

Posted: Fri Jul 22, 2022 11:04 pm
by Rob68k
Unfortunately not.

That's the instructions I followed in order to be able to just build in the terminal using make.

What I'm looking to do is source-level debug the project from within the XCode IDE.

Sorry if I wasn't clear.

Many thanks.