You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Source View

Ideas...

  • Chrome:
    • resizable
    • movable
    • scrollable
    • closable
    • dockable
    • iconizable
    • caption shows URL (shorthand for long URL?)
  • Decoration:
    • line numbers (optional)
    • indicate top level script blocks
    • indicate function bodies
    • indicate currently executing line (more prominent)
    • indicate lines with breakpoints (distinguish conditional)
    • indicate try blocks
    • indicate nested functions
    • indicate functions used as ctors
    • indicate document.write generated code
    • indicate specific lines with code (where BP could be set)
    • indicate lines which have been executed (for code coverge)
    • Color/font coding
      • coloring for html in addition to JS code (optional)
      • all html gray (optional)
      • special support for embedding:
        • document.write
        • <script src=>
      • easy plugin support for custom coloring
    • show/hide lines with plain html
  • Selection:
    • arbitrary selection of text on line
    • dblclk (or whatever) to select 'word'
    • line selection (multiple lines)
    • character-wise block selection
    • column-wise block selection
  • Activities:
    • When running:
      • copy
      • set/clear/edit breakpoint (at indicated line)
      • copy selection to watch
      • open editor at this line
    • When paused (ALL 'running' items plus):
      • inspect
      • eval
      • run to here
    • Tooltip eval
  • Options:
    • line number visibility
    • font size
    • font face (fixed only?)
    • font colors?
    • control color/font coding
    • control over various 'indications'
  • Additional issues:
    • display of Unicode
    • automatic updating as text changes
    • can be programatically scrolled to given line
    • color coding implies fairly 'smart' parser in debugger
    • drag 'n' drop source?

legend:
  • implemented in JSDebugger 1.1
  • new for jsd2
  • might implement in jsd2

last update: John Bandhauer 17 November 1998