Help debugging C?

AudioMatt's icon

I'm seeing that a decade ago, people were using the xcode debugger. Is there a current guide to this? I've been debugging using the crash reports from OSX. I don't know how to do xcode debugging if I can't "run" my object's code in xcode.

AudioMatt's icon
Anthony Palomba's icon

Well xcode is still going strong, probably stronger than ever due to all the iOS development. You going to have to bite the bullet and find a mac, download xcode and install it. Then run your project in the debugger and see what it finds. You may be able to open the crash report in xcode and it might give you some useful information, but probably not much.

AudioMatt's icon

A, I apologize for not being clear. I’m using Xcode already. I’m wondering about how to use the debugger given that the code is an extension. I can’t ”run” a max object in Xcode right?

AudioMatt's icon

I cannot believe this is possible and I’ve been coding for years using the crash reports. Will give it a try soon.

thank you raja. (And Anthony)

volker böhm's icon

checking "launch automatically" works fine for me.
also, in the 'arguments' tab you can enter "open /path/to/your/maxpatch" to let max automatically run your test-patch after launch.

AudioMatt's icon

This feels like being a god.

(ok maybe being a god of a broken program but still)