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

3 posts, 1 answers
  1. John
    John avatar
    17 posts
    Member since:
    Jul 2010

    Posted 03 Oct 2013 Link to this post

    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. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 Oct 2013 Link to this post

    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.
  3. John
    John avatar
    17 posts
    Member since:
    Jul 2010

    Posted 03 Oct 2013 Link to this post

    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
Back to Top