Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Dev console inaccessible with javascript:isc.showLog() with Firefox 6

    It looks like Firefox 6 is now preventing use of the address bar to run javascript commands by the looks of this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=679530

    Is there a workaround for this?

    #2
    Thanks for pointing this out.

    You can still use bookmarks to access javascript-prefixed URLs - this means the approach of adding a bookmark to your bookmarks toolbar with the target URL "javascript:isc.showConsole()" allows you to bring up the developer console with a single click.

    However if you don't have such a bookmark set up, you will need to use the developer tools or a third party tool such as Firebug to execute the the 'showConsole()' command, or of course add code to your page to launch the console (for example in response to a page level key event).
    Last edited by Isomorphic; 23 Aug 2011, 17:20.

    Comment


      #3
      Are there plans to update your debugging documentation here because of this issue?

      http://www.smartclient.com/docs/8.1/a/b/c/go.html#search=debugging

      That doc specifically states this which is now out of date:

      Code:
      Debugging JavaScript Errors
      
      Isomorphic recommends the FireFox browser as the primary development platform. In FireFox, JavaScript errors are reported both in the SmartClient Developer Console and in the FireFox JavaScript console, which can be opened by entering the special url "javascript:" in the address bar.

      The first few lines of that doc should probably also reference the needed Firefox changes.

      I'd like to give my customer support team this URL to help with debugging any javascript problems they may encounter. But, I can't give it to them until the docs accurately reflect the new challenges in using the Dev Console with Firefox in a way that a non-techie could understand.

      Comment


        #4
        Yup we'll be making the change shortly. Should be in nightlies from this point out.

        Comment

        Working...
        X