Debugging iOS-Application

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mjaspaert
Posts: 4
Joined: Tue Jan 18, 2011 8:40 am

Debugging iOS-Application

Post by mjaspaert » Tue Jan 18, 2011 9:27 am

I'm just starting with LiveCode :D . 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

hliljegren
Posts: 111
Joined: Sun Aug 23, 2009 7:48 am
Contact:

Re: Debugging iOS-Application

Post by hliljegren » Wed Jan 19, 2011 11:05 am

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.
___________________________________
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3

mjaspaert
Posts: 4
Joined: Tue Jan 18, 2011 8:40 am

Re: Debugging iOS-Application

Post by mjaspaert » Wed Jan 19, 2011 12:16 pm

Thanks. I wil try it out.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Debugging iOS-Application

Post by bn » Wed Jan 19, 2011 12:58 pm

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

Post Reply