Page 1 of 1
Debugging iOS-Application
Posted: Tue Jan 18, 2011 9:27 am
by mjaspaert
I'm just starting with LiveCode

. In a "normal" (mac or Windows) application I can use the debugger from Livecode.
How is it possible to use the Debugger for a iOS-Application, to scan e.g. the "touchStart"-event ?
Thanks
Re: Debugging iOS-Application
Posted: Wed Jan 19, 2011 11:05 am
by hliljegren
The release notes states that the debugging function for mobile devices is limited. You can use the
put command to output values. The release notes says that the put command:
Will write the string out to the standard error stream. These messages will be visible in Console.app when running in the simulator, and in the Console tab of the Xcode Organizer for a given target device while it is connected to the host computer.
Re: Debugging iOS-Application
Posted: Wed Jan 19, 2011 12:16 pm
by mjaspaert
Thanks. I wil try it out.
Re: Debugging iOS-Application
Posted: Wed Jan 19, 2011 12:58 pm
by bn
HI mjaspaert,
what I do is: I make a field on the card and in a handler
Code: Select all
on touchstart pID
put "touchStart " & pId && the milliseconds into field "myDebugField"
-- rest of code here
end touchstart
Kind regards
Bernd