How to get browser console errors in Android-Phonegap-app, possibly in Eclipse?

I'm afraid I don't think it's possible. I've certainly not been able to find a way of doing it as of yet.

Up vote 4 down vote favorite 1 share g+ share fb share tw.

I have PhoneGap app running in Android. I need to see the browser log (not just the console.log()) so that I could see all the errors and possibly warnings. I am aware of this similar question, however, that doesn't solve my problem, because it deals only with console.log().

My app is crashing in Android 1.6 browser and I need to see why. There is probably some syntax detail, which all newer Android browsers don't mind, but 1.6 is probably complaining about something and I need to see what. I am using Eclipse, so if it is possible to use it to see browser error console, it would be great.

I am also aware of LogCat tool in Eclipse, but it doesn't show any output from PhoneGap internal browser at all. Please help, I am lost ;-) javascript android eclipse phonegap log link|improve this question edited Mar 4 at 13:03Waynn Lue2,8272721 asked Jun 9 '11 at 8:48Frodik7801530 88% accept rate.

I'm afraid I don't think it's possible. I've certainly not been able to find a way of doing it as of yet. I debug the JavaScript of my PhoneGap web applications by running them first in Chrome and stepping through the JS debugger.

If you're not dependent on native API calls then this is probably the best method. Please let me know if you find a better method. Here's a reliable source tha phonegap.com/2011/05/18/debugging-phoneg... EDIT: I just found this chrome.google.com/webstore/detail/geelfh... Looks like an excellent tool for what we are after!

I'm going to try it out now.

Thats exactly the way I am doing it, debug in Chrome and when possible I use conditions for native API calls so as a by-product I have webapp ready for Chrome Webstore.. – Frodik Jun 15 '11 at 14:30 2 @Frodik, I actually just found an excellent Chrome Plugin, see my updated answer. – Jivings Jun 15 '11 at 14:53 TinyHippos (the authors of Ripple) were acquired by RIM on Jun 15 '117, though it appears that they intend on continuing to support Ripple. Tinyhippos.com/2011/03/25/… – Zoot Jun 15 '11 at 14:59 @Zoot Yeah I saw that too.

Fingers crossed. – Jivings Jun 15 '11 at 15:01 Someone explain the downvote? – Jivings Jun 15 '118 at 13:57.

This is the tool that I use. Very handy and you can see a lot more then just console messages. You can interact with the mobile device (also PhoneGap apps) like chrome developer tools.

I also think it is much better then Ripple. Debugging on the real device is always better! pmuellr.github.com/weinre/Home.html.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions