You are currently viewing a snapshot of 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, please file a bug.

jsd Enhancements

jsd is the 'bookkeeping' layer of the debug system. It is exposed to C via mozilla/js/jsd/jsdebug.h. jsd was created to support JSDebugger 1.x and has been further enhanced since. An XPCOM wrapper for jsd is being written.

TBD Add link to list of abilities in existing api.

Enhancement ideas...

  • Expose 'lines with code' api.
  • Expose watchpoints.
  • Expose call/return hook.
  • Expose Object create/destroy hook.
  • Expose watchpoint iterator.
  • Expose source change hook.
  • Expose source as Unicode.
  • Optionally insert native stack frames when building stack.
  • Detect uncaught exceptions - expose via hook.
  • Fill stack structures lazily.
  • Recycle threadstates objects - one per thread persistently.
  • Possibly merge Object and Value apis.
  • Possibly add stack snapshots w/ locals and args to a given depth.
  • Add built-in stepping support.

last update: John Bandhauer 16 November 1998