Closed Bug 332241 Opened 19 years ago Closed 18 years ago

Resurrect jsdb

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

jsdb is a commandline based debugger, and it's a lot easier to use it to chase down problems in jsd than to deal w/ venkman or eclipse or visual javascript. (there are problems in jsd, especially leaked roots.)
Attachment #216756 - Flags: review?(rginda)
Comment on attachment 216756 [details] [diff] [review] fix build and add support for request model >Index: jsdb.c >=================================================================== >RCS file: /cvsroot/mozilla/js/jsd/jsdb/jsdb.c,v >retrieving revision 1.6 >diff -uwp -r1.6 jsdb.c >--- jsdb.c >+++ jsdb.c >@@ -43,6 +43,11 @@ > #include "jsdbpriv.h" > #include <errno.h> > >+#ifndef JS_THREADSAFE >+#define JS_BeginRequest(cx) (void)0 >+#define JS_EndRequest(cx) (void)0 >+#endif >+ > /***************************************************************************/ > > JS_STATIC_DLL_CALLBACK(void) Everything fine except the above thing. Are there really no better solutions here? r=gijs, assuming you can explain me why the above is there. :-) Finally, I would say that I'm not the best person to review this - but apparently just about the only one at the moment.
Attachment #216756 - Flags: review?(rginda) → review+
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/js/src/jsapi.h&rev=3.162&mark=433,435-439,484#430 there's simply no other guard. i could do i slightly differently, but basically JS either has the methods if you have the define, or it doesn't.
Comment on attachment 216756 [details] [diff] [review] fix build and add support for request model mozilla/js/jsd/jsdb/Makefile.in 1.5 mozilla/js/jsd/jsdb/jsdb.c 1.7
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Backed out as part of the find-the-Tp-regression game we're currently undertaking.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment on attachment 216756 [details] [diff] [review] fix build and add support for request model mozilla/js/jsd/jsdb/Makefile.in 1.7 mozilla/js/jsd/jsdb/jsdb.c 1.9 for the record: that was uncalled for, the patch was to a directory that did not build.
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: