2

This question involves Unity3d, but it's not specifically about it.

I'm building a Unity project for OSX; as a result, I get complete .app that I can run — without xcode project in between, as on iOS. Everything goes OK, but my app hangs up from time to time, forcing me to kill it.

What OS X tools can I use to help with debugging such a situation? May be there's something in xcode instruments that can help me?

Max Yankov
  • 12,551
  • 12
  • 67
  • 135

1 Answers1

-1

You'll want to get the crashlogs, which will give you the callstack, and therefore the location in the code of the crash.

Here's some info on how to find the crash logs:

http://serato.com/scratchlive/support/6600/how-to-get-a-crash-log-in-mac-osx

And here's some info about what to do with them once you have them:

How to symbolicate Mac OSX crash reports issued by Apple?

Community
  • 1
  • 1
Almo
  • 15,538
  • 13
  • 67
  • 95
  • 1
    But there's no crash logs, because app just hangs, not crashes. – Max Yankov Apr 17 '14 at 17:08
  • "What OS X tools can I use to help with debugging such a crash?" So if there's no crash, then you're talking about just using the debugger and breakpoints to see where the problem is. – Almo Apr 17 '14 at 17:29
  • Sorry, I should've form the question better. But I don't build from an IDE, so I don't have any debugger at hand! – Max Yankov Apr 17 '14 at 17:33