New user to Eclipse IDE, I figured console.log() would print the string to the logcat panel which is great. But when i try to console.log() an object (instead of string literal), all i see in console is [object object].
I'm using console.log(JSON.stringify(MyObject)) to workaround this at the moment, it works for a simple object, however, if the object is too complex, the string got truncated at some point, which makes my debugging a lot harder.
Is there a neat way to inspect an object in the console panel with a nice treeview like what you'd get in Chrome developer tool (An expandable treeview is always easier to deal with json string)?
It is also worth mentioning that I'm doing PhoneGap development for Android. So basically I'm dealing with only HTML and Javascript. System.out.println won't work for me.
*Also, I'm aware of Weinre for PhoneGap too. But I'm only looking for solution within local IDE, as the web debugging is too lag for my liking.
Thanks