The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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
Copyright © 1998-2000 The Mozilla Organization.
Last modified November 17, 1998.