Results 1 to 3 of 3

Thread: console.log an object in android logcat

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    3

    Default console.log an object in android logcat

    I am developing a sencha touch application on android, and im using my phone for debugging. I am trying to view the items in a store when i click on a button.
    Using a web browser, i can easily type `console.log(store)` in the console and get to see what's in the store, however if i try doing that in my code on the phone what i get in the LogCat is just `[object Object]`.


    How i can log the store and the items/data in it.
    Thanks.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450

    Default

    Have you tried using weinre for remove debugging?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    3

    Default

    Yeah thanks, i found it online a while after making the post. I initially thought it only worked on IOS

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •