Results 1 to 3 of 3

Thread: Tip: JavaScript debugging

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22

    Tip: JavaScript debugging

    All modern browsers have a built-in JavaScript debugger.

    So how do you invoke the debugger programmatically in Javascript Apps to debug delegates you may ask.

    The good news is it's easy and works across Desktop, Web and Mobile Apps.

    Just place this code at the top of your JavaScript delegate.

    Code:
    debugger;
    Enjoy.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #2
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,185
    Hi Barry,

    once turned on for a session, how does one turn it off?

    thanks,

    Hank

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Quote Originally Posted by HankFay View Post
    Hi Barry,

    once turned on for a session, how does one turn it off?

    thanks,

    Hank
    Just close the debugger window.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us