browser setting for javascript debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt

    #1

    browser setting for javascript debugging

    For debugging javascript purposes, should we ensure the following
    check boxes (1-3) are checked.

    In IE browser, tools->Internet Options->Advanced

    Under Browsing,
    1) disable script debugging
    2) display a notification about every script error
    3) show friendly HTTP error messages

    Because I tried don't check those check boxes, it won't display
    the error even the javascript has syntax error.

    Anything I miss? Please advise. Thanks!!
  • Michael Winter

    #2
    Re: browser setting for javascript debugging

    On 7 Aug 2004 10:15:32 -0700, Matt <jrefactors@hot mail.com> wrote:

    [snip]
    [color=blue]
    > Under Browsing,
    > 1) disable script debugging[/color]

    You'll want to make sure that this is *NOT* checked. If it is checked,
    debugging is disabled. You imply that you've checked this, which if you
    have, is the cause of your problems.
    [color=blue]
    > 2) display a notification about every script error[/color]

    This isn't really necessary. If an error occurs, a yellow triangle will
    appear in the status bar (far left). Double-clicking that icon will
    display the error. All this option does is display the error without the
    need to double-click (good for debugging, annoying for browsing).
    [color=blue]
    > 3) show friendly HTTP error messages[/color]

    This has nothing to do with script debugging. This determines whether IE
    interprets error messages from servers or shows more low-level data.

    [snip]

    Mike

    --
    Michael Winter
    Replace ".invalid" with ".uk" to reply by e-mail

    Comment

    • Andrew Thompson

      #3
      Re: browser setting for javascript debugging

      On 7 Aug 2004 10:15:32 -0700, Matt wrote:
      [color=blue]
      > ...should we ensure the following
      > check boxes (1-3) are checked.
      >
      > In IE browser, tools->Internet Options->Advanced
      >
      > Under Browsing,
      > 1) disable script debugging[/color]

      If this said 'Enable script debugging' it
      might be more clear, it is easy to confuse
      'disable' with 'display'

      So 'Disable Script Debugging' - NO
      [color=blue]
      > 2) display a notification about every script error[/color]

      YES
      ...

      3) YES

      OTOH, I would recommend only using IE for
      debugging IE specific errors, AFAIU other
      browsers generally have better support
      for JS debugging.

      HTH

      --
      Andrew Thompson
      http://www.PhySci.org/ Open-source software suite
      http://www.PhySci.org/codes/ Web & IT Help
      http://www.1point1C.org/ Science & Technology

      Comment

      • DU

        #4
        Re: browser setting for javascript debugging

        Matt wrote:[color=blue]
        > For debugging javascript purposes, should we ensure the following
        > check boxes (1-3) are checked.
        >
        > In IE browser, tools->Internet Options->Advanced
        >
        > Under Browsing,
        > 1) disable script debugging
        > 2) display a notification about every script error
        > 3) show friendly HTTP error messages
        >
        > Because I tried don't check those check boxes, it won't display
        > the error even the javascript has syntax error.
        >
        > Anything I miss? Please advise. Thanks!![/color]

        You need Microsoft Javascript debugger for starters, then enable script
        debugging. The javascript errors reported in the console are useless;
        you need the MS javascript debugger.

        DU

        Comment

        • Thomas 'PointedEars' Lahn

          #5
          Re: browser setting for javascript debugging

          Matt wrote:
          [color=blue]
          > For debugging javascript purposes, should we ensure
          > the following check boxes (1-3) are checked.[/color]

          In the case this is a question: No, we should not.
          [color=blue]
          > In IE browser, tools->Internet Options->Advanced
          >
          > Under Browsing,
          > 1) disable script debugging[/color]
          ^^^^^^^
          You certainly want that checkbox *unchecked*
          if you intend to debug JScript.
          [color=blue]
          > 2) display a notification about every script error
          > 3) show friendly HTTP error messages[/color]

          I doubt the third one has anything to do with client-side scripting.
          IIRC that HTTP error message is displayed only if *the user* accesses
          a Web resource via HTTP.

          Besides, in IE you would debug JScript, not JavaScript.
          [color=blue]
          > Because I tried don't check those check boxes, it won't
          > display the error even the javascript has syntax error.[/color]

          Is this a question?
          [color=blue]
          > Anything I miss? Please advise. Thanks!![/color]

          HTH

          PointedEars

          Comment

          Working...