Neither IE-Debugger or Mozilla/Venkman debugger can step through dynamically added code?

Discussion in 'Javascript' started by Robert Oschler, Sep 3, 2005.

  1. I have some Javascript code that I create at run-time which I then write
    into the host document dynamically. I can't seem to get the IE/MSDEV
    debugger nor the Mozilla/Venkman debugger to properly trace the source, even
    though it has proper linefeeds in it. They both jump around odd lines in
    the the original HTML/PHP document when I try to step through the code.

    Does anyone know how to set things up so I can trace dynamically created
    code comfortably?

    Thanks.
    Robert Oschler, Sep 3, 2005
    #1
    1. Advertising

  2. Robert Oschler

    Mcginkel Guest

    Robert,

    Try the "pretty print" button in venkman. That works for me.
    Second option is to close all source windows and double click on the
    call stack so a new fresch window is opened.

    Kees
    Mcginkel, Sep 5, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. craig dicker
    Replies:
    1
    Views:
    365
    Peter Rilling
    Jul 10, 2005
  2. Robin Mark Tucker

    Debugging - can step over, but not step into.....

    Robin Mark Tucker, Jun 1, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    785
    Robin Mark Tucker
    Jun 5, 2006
  3. Claudio Grondi
    Replies:
    2
    Views:
    356
    Claudio Grondi
    Jul 3, 2006
  4. svend
    Replies:
    2
    Views:
    97
    Laurent Bugnion, GalaSoft
    Aug 28, 2003
  5. Eyal
    Replies:
    0
    Views:
    113
Loading...

Share This Page