Commit Graph

66 Commits

Author SHA1 Message Date
Boris Zbarsky
efc04bc103 Bug 699528. Make pausing/unpausing JSD try to turn off/on debug mode as needed. r=sfink
The new boolean argument to SetDebugModeWhenPossible is needed because if we allow sync-disable of debug mode we seem to crash when loading pages with Firebug active.
2011-11-09 16:11:39 -05:00
Michael Wu
94612b227a Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Steve Fink
b6bef1c008 Test for bug 638178 - new feature getExecutableLines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
448ee2fdce Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
79461945d5 Backout 8d39d7a5b85c 2011-05-24 16:53:07 -07:00
Steve Fink
10b6ac6647 Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
6cdbf2f85f Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless) 2011-03-26 12:05:40 -07:00
Gijs Kruitbosch
c948f427c0 Bug 633833 - Add function keyword to all the single function JSD interfaces, r=timeless, a=bzbarsky 2011-02-14 17:14:07 +01:00
Steve Fink
185af65e8c Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker) 2011-01-20 22:10:54 -08:00
Steve Fink
dcaaf41d0f Bug 610793 - Add a per-script enableSingleStepInterrupts() to JSD [r=dmandelin] 2010-11-16 15:18:35 -08:00
Robert Sayre
b33c75529c Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden
d2ffe8c4fa Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Robert Sayre
4ecf143a8f Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
David Anderson
e46d061bee Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
David Anderson
fa5cc30656 Merge backout. 2010-10-15 15:29:31 -07:00
David Anderson
cea4edbdf9 Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson
2938ba66f7 Bumped JSD uuid. 2010-10-15 14:18:13 -07:00
David Anderson
92940538af Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00
David Mandelin
c870caca5b Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
David Mandelin
1627e948ff Backed out changeset af020f2b9293 due to x64 build bustage. 2010-10-07 17:03:01 -07:00
David Mandelin
59b6daa65c Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
Luke Wagner
23899570df Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Paul Biggar
73ea308cfd Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Benjamin Smedberg
68eb98db57 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Jason Orendorff
e9ffcb57dc Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst. 2010-05-12 08:19:22 -05:00
Jason Orendorff
94a1e24caa Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst. 2010-05-12 08:18:51 -05:00
Boris Zbarsky
6f12410021 Bug 507448. Expose the names of the function arguments on jsdIScript. r=timeless,brendan 2009-10-26 09:30:40 -04:00
Olli Pettay
e9e4a48065 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz 2009-10-17 17:40:44 +03:00
Boris Zbarsky
30ed686a13 Bug 521010. Expose a .script on jsdIValue, r=brendan 2009-10-07 21:19:54 -04:00
d4c46cea80 Bug 475898 - jsdIDebuggerService.idl changed without changing uuid, r+sr=bz 2009-02-04 22:43:56 -08:00
82dba749ff Bug 136292 jsdIValue doesn't handle Unicode string values at all
Bug 335098 Strings with \x00 are truncated
support non ascii strings from js engine, r+sr=jst
2009-01-07 20:42:15 -08:00
f35dc5025a Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan 2007-04-25 06:43:18 -07:00
timeless@mozdev.org
c47eccfe97 Bug 325539 typo in mozilla/js/jsd/idl/jsdIDebuggerService.idl
r=silver
2007-01-07 10:50:23 +00:00
timeless@mozdev.org
73e8d69bc4 Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=rginda sr=bz
2006-05-07 01:31:33 +00:00
timeless@mozdev.org
f07795d670 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
2005-08-02 15:53:59 +00:00
gerv@gerv.net
4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
rginda@netscape.com
da3f7b26e4 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.
2003-08-14 22:49:09 +00:00
rginda@netscape.com
4a67b57039 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.
2003-04-18 20:12:11 +00:00
bzbarsky@mit.edu
19eddc8944 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
rginda@netscape.com
ae0150ab28 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
2002-12-17 22:22:30 +00:00
dbaron@fas.harvard.edu
e990a4631d Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
rginda@netscape.com
42f8041358 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.
2002-03-16 01:58:36 +00:00
rginda@netscape.com
c11da0b0d9 part of bug 109652, "Venkman needs to profile" r=peterv,r=a=shaver
add profiling support.
2002-02-27 09:24:14 +00:00
rginda@netscape.com
2e233f2bb9 bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
add jsdIContext::options and ::privateData attributes
2002-02-20 05:45:57 +00:00
rginda@netscape.com
7bf866284b 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.
2002-02-14 07:57:30 +00:00
rginda@netscape.com
9b9dd4173c 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
2002-02-07 00:59:55 +00:00
rginda@netscape.com
b10db8496e 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.
2002-01-29 08:32:23 +00:00
rginda@netscape.com
916a3ec935 bug 121178, r=jst,sr=brendan, "jsdIStackFrame::eval signature needs to be changed"
return exception from jsdService::Eval if one occurs.
2002-01-29 06:15:58 +00:00
rginda@netscape.com
c9e1e8d40d 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.
2002-01-29 05:56:02 +00:00
rginda@netscape.com
3accb9e9ae 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.
2002-01-12 00:56:35 +00:00