Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Getting Logging info while debugging the App in Device

How to see the debugging info and error info while debugging the App in the device?

— asked November 30th 2010 by Radhakrishnan Selvaraj
  • android
  • device
  • iphone
0 Comments

2 Answers

  • If you are using iOS, then you can connect your iPhone/iPad to your computer, then open xCode -> Window -> Organizer. In the devices list select your device (should have a green dot next to it), then select the Console tab. All your debug info will appear here as you use the app on your device.
    Hope this helps?

    — answered November 30th 2010 by Roger Chapman
    permalink
    1 Comment
    • How can I do it for Android?

      — commented December 3rd 2010 by Radhakrishnan Selvaraj
  • I've written an error handler for Titanium, which allows you to get debugging infos even if your app runs on the device. The debugging infos are displayed on the device. You can find the code together with a demo app and documentation at CodeCanyon for $15:

    http://codecanyon.net/item/trace-for-titanium/141546

    There are some preview screenshots where you can see how it works.

    You have to replace Titaniums logging functions with the functions of my error handler. If you want to see some sample code, have a look at my blog:

    http://crossplatform.blog.de/

    It's in german, but the source code at the end of the post should be readable to non germans. The documentation included in the package is completely in english.

    — answered November 30th 2010 by Peter Schmand
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.