35 Commits

Author SHA1 Message Date
igor%mir2.org
f92cdfb6ca Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan
git-svn-id: svn://10.0.0.236/trunk@225006 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 13:43:18 +00:00
timeless%mozdev.org
291717dd61 Bug 325539 typo in mozilla/js/jsd/idl/jsdIDebuggerService.idl
r=silver


git-svn-id: svn://10.0.0.236/trunk@217915 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-07 10:50:23 +00:00
timeless%mozdev.org
dd5c0e7dd9 Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=rginda sr=bz


git-svn-id: svn://10.0.0.236/trunk@196128 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 01:31:33 +00:00
timeless%mozdev.org
ac0793519a Bug 281137 Add profiling column for functions excluding other functions running
jsd part
patch by silver@warwickcompsoc.co.uk r=shaver sr=dmose a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 15:53:59 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
rginda%netscape.com
fff7811074 bug 216112, "add ability to disable object tracking in jsd"
r=caillon, sr=brendan, a=asa

adds the ability to turn off the object tracking without having to disable the debugger.  should make a dormant venkman less of a performance impact.


git-svn-id: svn://10.0.0.236/trunk@146022 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 22:49:09 +00:00
rginda%netscape.com
8a5d068645 bug 200591, "File Options > Don't Debug Eval/Timeouts isn't working", r=brendan
prevent any stack with a disabled frame from being debugged during single-stepping, or break-on-throw.  Also adds versioning support to the jsdIDebuggerService interface.


git-svn-id: svn://10.0.0.236/trunk@141407 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:12:11 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
rginda%netscape.com
c32dc4620e bug 185719, r=peterv@netscape.com, sr=brendan@mozilla.org
"add ability to get at function object for a jsdIScript"

add a |functionObject| attribute to the jsdIScript interface, which returns the function's JSObject as a jsdIValue


git-svn-id: svn://10.0.0.236/trunk@135432 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 22:22:30 +00:00
dbaron%fas.harvard.edu
772b5b8c58 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
rginda%netscape.com
987eb43a38 bug 129519, "JS_GetPropertyDesc gives up too easily", r=jband, sr=shaver, a=bren
dan
Reflect new JSPD_* defines, make jsd_GetValueProperty degrade gracefully instead of fail outright when we run into a problem fetching the property value.


git-svn-id: svn://10.0.0.236/trunk@116676 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 01:58:36 +00:00
rginda%netscape.com
741acbe78c part of bug 109652, "Venkman needs to profile" r=peterv,r=a=shaver
add profiling support.


git-svn-id: svn://10.0.0.236/trunk@115415 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:24:14 +00:00
rginda%netscape.com
2baaf83b8f bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
add jsdIContext::options and ::privateData attributes


git-svn-id: svn://10.0.0.236/trunk@115053 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:45:57 +00:00
rginda%netscape.com
5f8367e018 bug 124474, "add native frame support to jsd"
sr=shaver, r=jband
add JSD_IsStackFrameNative, IsStackFrameDebugger, and IsStackFrameConstructing
add similar attributes to jsdIStackFrame
tweak return values in jsds_FilterHook
don't include dummy stack frames in threadstates

bug 110387, "Crash on exiting venkman"
check to see if the debugger was turned off before going through with an unPause.


git-svn-id: svn://10.0.0.236/trunk@114496 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:57:30 +00:00
rginda%netscape.com
1da965c1f6 bug 121039, "Need a way to unwrap jsdIValues", r=jband, sr=jst
adds jsdIValue::getWrappedValue() and jsdIService::wrapValue() methods to provid
e js scripts a way to convert between jsdIValues and "real" js values.
Also includes fix to not call breakpoint hook while paused, and changes jsdIFilt
er::glob attribute to jsdIFilter::globalObject, to match jsdIContext::globalObject


git-svn-id: svn://10.0.0.236/trunk@113854 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:59:55 +00:00
rginda%netscape.com
482526e770 bug 121318, sr=brendan,r=jst, "Venkman should disable the target window when stopped at a breakpoint".
implement the jsdIContext interface.
create only one jsdValue wrapper per unique jsval.
add executionContext property to jsdIStackFrame.
add enumerateContexts to jsdIDebuggerService.
add jsdIContextEnumerator interface.


git-svn-id: svn://10.0.0.236/trunk@113111 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 08:32:23 +00:00
rginda%netscape.com
62e2418433 bug 121178, r=jst,sr=brendan, "jsdIStackFrame::eval signature needs to be changed"
return exception from jsdService::Eval if one occurs.


git-svn-id: svn://10.0.0.236/trunk@113101 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 06:15:58 +00:00
rginda%netscape.com
65e86f32aa bug 121192, sr=brendan,r=jst, "Add proper errorHook and debugHook to jsdIDebuggerService"
adds jsdIDebugHook interface, change the meaning of jsdIErrorHook.
error hook is called when an error occurs, and is given information about the error report.
debug hook is called when/if the error hook returns false, and is given information about the ececution state.


git-svn-id: svn://10.0.0.236/trunk@113100 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 05:56:02 +00:00
rginda%netscape.com
0d2707afd4 bug 115695, rs=brendan, venkman only
netive changes relating to pretty print support, includes...
* remove jsdIPC interface, replaced with ulong offsets from PC 0.
* add |pcmap| parameter to select between sourcetext/prettyprint linemaps (pcToLine, lineToPc, and isLineExecutable.)
* add |functionSource| property to jsdIScript.
* add |tag| to jsdIScript.
* fixed potential jsdIScript leaks.


git-svn-id: svn://10.0.0.236/trunk@111989 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 00:56:35 +00:00
rginda%netscape.com
9dffd404bd bug 99601, add filter support to js/jsd, r=jband sr=brendan
large addition to the jsd_xpc component allows arbitrary filtering of debug hooks by url pattern, line range, and global object.  also adds ability to begin instrumenting jsscripts at app startup.


git-svn-id: svn://10.0.0.236/trunk@106689 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 13:41:32 +00:00
rginda%netscape.com
af63e55a40 bug 103804, "Venkman doesn't like stopping in timeouts", r=jband, sr=shaver
add callback to the enterNestedEventLoop method


git-svn-id: svn://10.0.0.236/trunk@105018 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:35:46 +00:00
rginda%netscape.com
84b8ddf3ae -- not built --
exposing call hook functionality


git-svn-id: svn://10.0.0.236/trunk@102149 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-01 18:03:53 +00:00
rginda%netscape.com
39016686cd - not built -
spruce up some comments
added, then comented out, jsdIDebuggerService::filterGlobalObject


git-svn-id: svn://10.0.0.236/trunk@101914 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 22:03:44 +00:00
rginda%netscape.com
d8c5b0ae44 - not built -
add javadoc comments, remove jsdIScript::isActive, add jasIService::GC()


git-svn-id: svn://10.0.0.236/trunk@100263 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 05:15:27 +00:00
rginda%netscape.com
e7c0aaeb78 - not built -
add jsdIEphemeral interface, inherit from it in interfaces that need to.


git-svn-id: svn://10.0.0.236/trunk@98578 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 22:22:58 +00:00
rginda%netscape.com
ddfac0a616 - not built -
Add isValid to jsdIScript
Add jsdIService::isOn


git-svn-id: svn://10.0.0.236/trunk@98154 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 07:47:22 +00:00
rginda%netscape.com
e0f36cbef2 - not built -
add enumerateScripts() method to jsdIDebugger service
don't create a new debugger context if the user trys to call on[ForRuntime]() multiple times


git-svn-id: svn://10.0.0.236/trunk@95587 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 07:18:10 +00:00
rginda%netscape.com
7b2d61c2b7 - not built -
add onForRuntime() method to jsdIDebuggerService to let native code turn on the deubgger (on() can only be called from js)
register an app-start observer so we can turn on the debugger at startup if "js.debugger.autostart" pref is true.
r=peterv, bug 81840


git-svn-id: svn://10.0.0.236/trunk@95583 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 06:00:12 +00:00
rginda%netscape.com
c184482966 - not built -
remove jsdIContext and jsdIThreadstate interfaces
add TYPE_BOOLEAN to jsdIValue
update callback signatures to reflect the removal of jsdIContext and jsdIThreadstate
add errorHook and throwHook attributes to jsdIDebuggerService


git-svn-id: svn://10.0.0.236/trunk@93977 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 22:16:27 +00:00
rginda%netscape.com
4988d50909 - not built -
add invalidate() method to jsdIScript
rework jsdIScriptHook interface


git-svn-id: svn://10.0.0.236/trunk@93562 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 21:37:24 +00:00
rginda%netscape.com
39cba63929 - not built -
move from pc as a ulong to pc as an object wrapped around a uword (jsdIPC)
rename init() to on() on jsdIService
move lineToPc and pcToLine from jsdIThreadState to jsdIScript (where they belong)
add setBreakpoint(), clearBreakpoint(), and clearAllBreakpoints() to jsdIScript
add off(), clearAllBreakpoints(), and breakpointHook attribute to jsdIService
add creatorURL, creatorLine, constructorURL, constructorLine, and value attribut
es to jsdIObject


git-svn-id: svn://10.0.0.236/trunk@93078 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 18:29:51 +00:00
rginda%netscape.com
c11f7fe4c1 - not built -
add line attribute to jsdIStackFrame
remove isFuction from jsdIValue
add TYPE_UNKNOWN to jsType "enumeration" so we don't fail hard if we can't figure out the type.
add hook type "enumeration" to jsdIExecutionHook


git-svn-id: svn://10.0.0.236/trunk@92935 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-23 19:15:55 +00:00
rginda%netscape.com
52a52299eb - not built -
implement jsdIProperty


git-svn-id: svn://10.0.0.236/trunk@92876 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 07:21:27 +00:00
rginda%netscape.com
8d5107cb90 - not build -
basic methods for jsdIObject and jsdIProperty
tweak string params
most methods for jsdIScript jsdIStackFrame, jsdIThreadState, and jsdIValue
add hack methods enterNestedEventLoop and exitNestedEventLoop.  These should be moved to another interface before long.


git-svn-id: svn://10.0.0.236/trunk@92802 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 04:08:47 +00:00
rginda%netscape.com
bc4cd3c716 moving xpcom wrapper from extensions/venkman/src/ and idl/ to here.
git-svn-id: svn://10.0.0.236/trunk@92539 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 08:50:41 +00:00