How do I debug iOS app crashes?
Andrew Henshaw
henshaw at me.com
Mon Dec 19 11:29:03 EST 2011
You can also add the following to your top stack as it will catch a lot of the errors and give an idea as to where the issue is...
on errorDialog pExecutionError, pParseError
if item 2 of line 1 of pExecutionError is 0 then
answer "An error occurred " & cr & cr & pExecutionError
else
answer "An error occurred on line: " & item 2 of line 1 of pExecutionError
end if
end errorDialog
On 19 Dec 2011, at 14:26, Thomas McGrath III wrote:
> Bill,
>
> Take good look at any openStack messages for crashes at start up. I have had to move certain things into a preOpenStack handler which seems to work better on iOS.
> As is the standard for debugging I first look at startup scripts and then move right to I/O scripts and then to the creating, editing and deleting of objects and lastly to complex storage of info schemes.
>
> I do a systematic commenting out of handlers and try again when converting desktop apps to iOS.
>
>
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgrath at comcast.net
>
> On Dec 18, 2011, at 8:17 PM, Bill Vlahos wrote:
>
>> I have an app that works fine on Desktop computers but when I run it in the simulator it crashes the app when I do a particular thing. I've looked at all the code I don't see anything that should fail.
>>
>> Since I'm running it in the simulator I can't tell why it is crashing. How can I debug it?
>>
>> Bill Vlahos
>>
>> Sent from my iPhone
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list