How can i debug on Xcode?

how can i debug my game on xcode??? [import]uid: 10827 topic_id: 4873 reply_id: 304873[/import]

nevermind, i found out how… thanks for nothin’ [import]uid: 10827 topic_id: 4873 reply_id: 15887[/import]

Hey Izz.

I wonder if you could post the steps you took to figuring this out? Right now I’m using the debugger manually on the command line and it’s killing me. I’d love to know how to set up something so I could debug with a GUI environment. [import]uid: 14327 topic_id: 4873 reply_id: 17951[/import]

There isn’t support for gui debugging at the moment.

You can however see print statements on device if look in the organizer on iOS or ‘adb logcat’ on android. [import]uid: 3 topic_id: 4873 reply_id: 18669[/import]

http://developer.anscamobile.com/forum/2010/06/08/my-app-crashing-device-only-not-simulator#comment-3057 [import]uid: 7356 topic_id: 4873 reply_id: 18706[/import]

@seanh, I guess I’m missing a step somewhere. I’ve clicked every tab in Organizer and I can not see any of my debug prints while my application runs on the device.

Is there something I need to setup prior to launching the application? [import]uid: 10332 topic_id: 4873 reply_id: 18929[/import]

the output on the device is buffered, so if your app only outputs a few things you might not see if till the buffer flushes.

Try setting this http://developer.anscamobile.com/reference/index/filesetvbuf at the top of your main.lua and check the console again. [import]uid: 3 topic_id: 4873 reply_id: 18934[/import]

Is it not possible to get reliable debug output from the xCode simulator (as opposed to the device) ?? I don’t see many people complaining about this so I feel like I must be missing something obvious.

I have already disabled output buffering but seeing anything show up in the console is VERY rare…seems totally intermittent

All suggestions welcome!
Thanks,
D

[import]uid: 6175 topic_id: 4873 reply_id: 30540[/import]