This is a migrated thread and some comments may be shown as answers.

cordova 3.0 - console-via-logger.js instead of true javascript source file and line

2 Answers 26 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 03 Oct 2013, 12:22 PM
When I upgrade a project to version 3.0, the debug console window in the graphite simulator returns console-via-logger line 182 for *all* console.log messages.

When I switch back to 2.7 the logging returns to normal (correct js source file and line is displayed).

Does anyone know how to get round that?  I read there was a cordova console plug-in, but even after downloading (git://git.apache.org/cordova-plugin-console.git) and installing as a custom plug-in and adding a reference in my index.html, I'm still getting the same issue.

Any solution out there?

Thanks

John

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 03 Oct 2013, 12:54 PM
Hi John,

Quite frankly, we cannot find any information on this ourselves, but as this plugin seems to be available only for iOS and WP now, you can safely switch the Icenium simulator to Android device to get the actual error.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
John
Top achievements
Rank 1
answered on 03 Oct 2013, 01:08 PM
Hi Steve

Thanks for your reply (and candidness), switching to an android device in the simulator works you're right, I hadn't realised that; so that will do me for now.

Regards

John
Tags
General Discussion
Asked by
John
Top achievements
Rank 1
Answers by
Steve
Telerik team
John
Top achievements
Rank 1
Share this question
or