I’m really scratching my head on this one: I sometimes manage to see the Debug.Log() messages that I send from script, inside of XCode’s organizer, console tab… but then again, sometimes I don’t see any of them!
Maybe some XCode guru can explain to me how it works exactly? are the messages supposed to come out in realtime? should I wait for the app to close? Every time I stop the app, I notice my iPhone updating or something (spinning wheel in the top left corner, to the right of the Wifi antenna icon), why is that? console synching? (seems like a long shot…)
Also, the console seems to be reset every time I quit XCode… is it inside the device, or is XCode’s debugger picking up the messages and storing them in a log in my Mac? ie can I access this log from the regular OSX console?
EDIT: also, does stripping debug symbols in Unity change anything? log messages should still appear, right?
EDIT 2: does changing the active configuration from Release to Debug change anything?
gdb… uh, now who’s this bad boy… is that the one?
I got a gdb folder in /Developer (thanks Spotlight), with a terminal app (thanks yuck), and no clue what to do with… is that the one you’re talking about?
Is there a frontend to this? Sorry, complete Unix noob here! :lol:
Basically, yes that’s the one.
Fortunately it’s integrated into XCode. I doN’t have access to XCode right now, but there should be a menu entry and a icon somewhere that says somethig like “Run > Console”.
You probably have to start your app in debug mode from within XCode to see any output.
kusako, you the man! Or goat. Whatever floats your boat.
Too bad this view is complete flooded by stats… very hard to sort out my babies from this mess!
Problem is, this file gets replaced every time you rebuild from Unity… is there any way to avoid this, and keep some files across builds? This would also be useful for the icon, and probably others.