Looking for debugging tips for IOS

We have an app that behaves weirdly on the ipad. Its slower than the android version ( though the hardware spec of the ipad is better) and becomes unresponsive from time to time.

Is there any way to debug / have some insight into the behaviour of the CL app running on my IPAD. the console window in the IPhone configurator is not helpful enough.

Thanks
Frank

If you have the iPad tethered to a USB port on your Mac, you can use XCode and bring up the Organizer window.  There will be a bar on the left where your iPad will eventually show up.  You will probably have to click a button saying “Use this iPad for Development” the first time.  After a bit, you will be able to use XCode’s organizer to install and manage your apps.   On that left side bar under your iPad will be a link called “Console Log” or something similar.  Click that and the devices console log will appear in the right hand main content area.

You can watch for error messages or any “print” from Corona to show up there.  Some carefully placed print statements can help you narrow down the problem.

If you build using a Development provisioning profile instead of an AdHoc one, you can access a suite of developer tools also from XCode to profile your app, watch for memory leaks, etc.  It’s called Instruments.

Rob,

  1. thanks for responding
  2. thanks a lot for bringing up Instruments. I will have a look
  3. Re Console Log, i have the same in the console window of the IPhone configurator, and it does not provide enough data.

Lets see if Instruments does the job
Frank

If you have the iPad tethered to a USB port on your Mac, you can use XCode and bring up the Organizer window.  There will be a bar on the left where your iPad will eventually show up.  You will probably have to click a button saying “Use this iPad for Development” the first time.  After a bit, you will be able to use XCode’s organizer to install and manage your apps.   On that left side bar under your iPad will be a link called “Console Log” or something similar.  Click that and the devices console log will appear in the right hand main content area.

You can watch for error messages or any “print” from Corona to show up there.  Some carefully placed print statements can help you narrow down the problem.

If you build using a Development provisioning profile instead of an AdHoc one, you can access a suite of developer tools also from XCode to profile your app, watch for memory leaks, etc.  It’s called Instruments.

Rob,

  1. thanks for responding
  2. thanks a lot for bringing up Instruments. I will have a look
  3. Re Console Log, i have the same in the console window of the IPhone configurator, and it does not provide enough data.

Lets see if Instruments does the job
Frank