If in my code I put a "debug text", can it be seen somewhere, if the programs runs on an iphone?
This is what I use:
FUNCTION debug_out: in$
LOCAL out$
out$="[APP] "+MID$(PLATFORMINFO$("TIME"),11,8) + ": "+ in$+"\n"
?IFDEF IPHONE
STDOUT out$
?ELSE
DEBUG out$
?ENDIF
ENDFUNCTION
If you want to use stdout on windows, you can insert:
IMPORT void __AllocConsole()
__AllocConsole()
Somewhere in my code archiv is a project called iphonebug, it uses a simple button in your game and on press it show you all these values you set with DEBUG_IPHONE.
I though that iphone sent text to the XCode debug window...
it does, but not all users could work with it