debug javascript

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

    debug javascript

    Hi,

    I put the javascript code into a .js file. When it has error, the
    debugger in IE 6 will not should the code. I have some software such
    as vs.net and IntelliJ IDEA 3. Do you know I can use them to dubug a
    ..js file? Please also tell me where to get information on how to
    debug .js file using them.

    Thanks.

    Chris
  • Lee

    #2
    Re: debug javascript

    chirs said:[color=blue]
    >
    >Hi,
    >
    >I put the javascript code into a .js file. When it has error, the
    >debugger in IE 6 will not should the code. I have some software such
    >as vs.net and IntelliJ IDEA 3. Do you know I can use them to dubug a
    >.js file? Please also tell me where to get information on how to
    >debug .js file using them.[/color]

    Wouldn't it be simplest to take the code out of the .js file
    until it's debugged?

    Comment

    • chirs

      #3
      Re: debug javascript

      Lee <REM0VElbspamtr ap@cox.net> wrote in message news:<bq2svi013 3n@drn.newsguy. com>...[color=blue]
      >
      > Wouldn't it be simplest to take the code out of the .js file
      > until it's debugged?[/color]

      Your idea is OK. But I also want to find a better debugger.

      Comment

      • chirs

        #4
        Re: debug javascript

        Hi,

        I put the javascript code into a .js file. When it has error, the
        debugger in IE 6 will not should the code. I have some software such
        as vs.net and IntelliJ IDEA 3. Do you know I can use them to dubug a
        ..js file? Please also tell me where to get information on how to
        debug .js file using them.

        Thanks.

        Chris

        yma@kicon.com (chirs) wrote in message news:<4c22a744. 0311261605.269d b0fd@posting.go ogle.com>...[color=blue]
        > Lee <REM0VElbspamtr ap@cox.net> wrote in message news:<bq2svi013 3n@drn.newsguy. com>...[color=green]
        > >
        > > Wouldn't it be simplest to take the code out of the .js file
        > > until it's debugged?[/color]
        >
        > Your idea is OK. But I also want to find a better debugger.[/color]

        Comment

        • Michael Winter

          #5
          Re: debug javascript

          chirs wrote on 27 Nov 2003:
          [color=blue]
          > I put the javascript code into a .js file. When it has error,
          > the debugger in IE 6 will not should the code. I have some
          > software such as vs.net and IntelliJ IDEA 3. Do you know I can
          > use them to dubug a .js file? Please also tell me where to get
          > information on how to debug .js file using them.[/color]

          <snip>

          Internet Explorer should indicate the row and column that it thinks
          is in error which you can then go to (good editors should allow you
          to enable line numbers). If not, you could place the code on a
          server, post the address here, and we could take a look at it. You'll
          have to give some clue as to what doesn't work, why, what should
          happen if it was working, and where the broken code might be (e.g. a
          function name).

          Mike

          --
          Michael Winter
          M.Winter@blueyo nder.co.uk.invalid (remove ".invalid" to reply)

          Comment

          Working...