JSDB has a remote debugger

Shanti Rao <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Howdy folks,

I bit the bullet and wrote a remote debugger for SpiderMonkey. It runs in a 
Windows command line shell. Sources (rs/wrap_debug.cpp) are on the web site, 
too. More documentation is coming soon.

Robert, can you see any way that this might work with Venkman?

http://www.jsdb.org/debugger.html

Debugging a program requires two processes, both implemeneted in JSDB
A. The debugger console
B. The program being debugged

A (debugger.js) listens on a socket

B (debug.js) connects to A's socket and halts, waiting for instructions.

A shows B's status and prompts for instructions

B maintains a database of breakpoints, script source code, etc.

A sends commands to B and reads the responses.

Have fun!

Shanti

PS. My JSDB is related only in name to the jsdb code in the SM source tree.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.