Commit Graph

280 Commits

Author SHA1 Message Date
rginda%netscape.com
f973eadac2 - not built -
adding support for source, stack, and script list outliners.
moved breakpoint related status display()s from handlers.js to here, to that you get console feedback when you set a breakpoint with the UI.
moved initDebugger() and attachDebugger() to the top of the file.
add setCurrentFrameByIndex(), clearCurrentFrame(), getCurrentFrameIndex(), and getCurrentFrame(), migrated code that accessed console._currentFrameIndex to these functions.
make setBreakpoint() smarter (it doesn't blindly clear any breakpoints before setting the new one anymore.  that spewed extra "clearing breakpoint" "setting breakpoint" messages.  now we scan the breakpoint list ourselves for dupes.)
2001-06-12 20:19:24 +00:00
rginda%netscape.com
ded0eaf937 - not built -
package outliners.js and new images
2001-06-12 20:13:23 +00:00
rginda%netscape.com
96d0cdf3d5 - not built -
initial add of outliner utility file
2001-06-12 20:12:50 +00:00
rginda%netscape.com
50fcbf5369 - not built -
initial add of some debugger images
2001-06-12 19:59:31 +00:00
rginda%netscape.com
45e0618a1d - not built -
bug 82462, break in scripts that arent loaded yet

messages related to fbreak and fclear commands
2001-06-04 22:52:10 +00:00
rginda%netscape.com
0cd60df52f - not built -
bug 82462, break in scripts that arent loaded yet

message name hookup for fbreak and fclear related strings
2001-06-04 22:51:45 +00:00
rginda%netscape.com
468f6dd355 - not built -
bug 82462, break in scripts that arent loaded yet

implement fbreak and fclear commands
2001-06-04 22:51:13 +00:00
rginda%netscape.com
52d4339163 - not built -
bug 82462, break in scripts that arent loaded yet

move console._scripts/_sources creation into initDebugger()
check to see if we need to set a breakpoint when new scripts are loaded
add some comments to initDebugger()
implement isFutureBreakpoint() and setFutureBreakpoint()
2001-06-04 22:50:37 +00:00
rginda%netscape.com
48c50c3047 - not built -
bug 82462, break in scripts that arent loaded yet

hook up fbreak and fclear commands
2001-06-04 22:48:50 +00:00
rginda%netscape.com
b5fb17680f - not built -
enumerate existing scripts on load for the case where the user has js.debugger.autoload set.  This will allow for the setting of breakpoints in scripts that were loaded before the debugger.
2001-05-21 07:16:06 +00:00
rginda%netscape.com
1011f0b1aa - not built -
s/HTMLElement/Components.interfaces.nsIDOMHTMLElement/
2001-05-13 22:01:09 +00:00
rginda%netscape.com
27dfc73382 - not built -
make the spacer image 0x0px
add decorations for SOURCE and STEP message types
2001-05-13 21:28:49 +00:00
rginda%netscape.com
ff67255911 - not built -
add breakpoint messages
2001-05-13 21:28:05 +00:00
rginda%netscape.com
70ab3635e0 - not built -
load url loader and munger scripts
2001-05-13 21:27:26 +00:00
rginda%netscape.com
c86bc3775c - not built -
add zeroPad() function
2001-05-13 21:27:02 +00:00
rginda%netscape.com
caa2acc8ea - not built -
use (a modified copy of chatzilla's) munger on output text instead of the one-off hardcoded line break code that was here.
add rules for hyperlinks and long word breaking to munger
implement matchFileName()
add stringToDOM() to turn a string into DOM nodes via the munger
add ERR_FAILURE exception type
2001-05-13 21:26:43 +00:00
rginda%netscape.com
cff695be49 - not built -
add SOURCE and STEP message types
whitespace changes
add message consts
2001-05-13 21:23:50 +00:00
rginda%netscape.com
afee1431c3 - not built -
list breakpoints if not data given tot he break command
factor filename matching code into matchFileName()
add clear command to clear breakpoints by file/line number, or breakpoint id
show source text when changing frames
2001-05-13 21:23:03 +00:00
rginda%netscape.com
88cbd5adc1 - not built -
print a debug message when we catch execptions from the console.
2001-05-13 21:20:41 +00:00
rginda%netscape.com
17239f77f2 - not built -
add console._sources object to hold source text
clear breakpoints associated with a script when the script is deleted
show source text when the debugger stops
add findNextExecutableLine (Not done, not used)
add loadSource(), displaySource(), getBreakpoint(), clearBreakpoint(), clearBreakpointByNumber() functions
store fileName and line in breakpoint object
2001-05-13 21:20:00 +00:00
rginda%netscape.com
6208db8f8e - not bult -
hookup clear command
2001-05-13 21:16:44 +00:00
rginda%netscape.com
41b3e7f68e - not built -
uncomment HTML_* consts
2001-05-13 21:16:21 +00:00
rginda%netscape.com
97096ec055 - not built -
whitespace cleanup
add url loader and munger files to the jar
2001-05-13 21:15:44 +00:00
rginda%netscape.com
493f92a115 - not built -
adding url loader and munger files
2001-05-13 21:15:05 +00:00
cls%seawood.org
74757e3db2 Replace chrome:: target with install::. Using chrome:: was causing |make -j3 install| builds to fail to execute the chrome:: target due to a suspected bug in gnu make. (|make MAKE='make -j3' install| works fine.) 2001-05-12 07:08:27 +00:00
rginda%netscape.com
2c136c1de2 - not built -
fix help tip
2001-05-05 00:11:49 +00:00
rginda%netscape.com
56b234c311 - not built -
add more l10n strings!
2001-05-04 22:35:33 +00:00
rginda%netscape.com
a9b5de9146 - not built -
hook up new l10n strings
2001-05-04 22:35:01 +00:00
rginda%netscape.com
7ab13f3f35 - not built -
implement break and step commands
2001-05-04 22:34:27 +00:00
rginda%netscape.com
eba9a8d440 - not built -
consolidate Hooker objects into a single _executionHook object
add script create and destroy listeners
keep track of all loaded scripts in console._scripts (insertScriptEntry(), removeScriptEntry(), addScript(), and removeScript())
Add TYPE_INTERRUPTED case to debugTrap for single stepping.
call clearAllBrakpoints() before turning the debugger off in detachDebugger()
add TYPE_BOOLEAN case to formatProperty()
add setBreakpoint() (whee!)
2001-05-04 22:32:06 +00:00
rginda%netscape.com
2b2b6f9f69 - not built -
wiring for break and step commands
2001-05-04 22:25:37 +00:00
rginda%netscape.com
c6834d7543 - not built -
add new error messages, whitespace changes
2001-04-26 06:49:35 +00:00
rginda%netscape.com
50be851ee8 - not built -
add a "two objects in scope" sample stack
2001-04-26 06:48:32 +00:00
rginda%netscape.com
fd5961321e - not built -
check type of param in display()
refactor result printing from evalIn*Scope over to routines in venkman-handlers.js
add refreshResultsArray() to call refresh() on all elements of the $ array
add new exception number
2001-04-26 06:47:52 +00:00
rginda%netscape.com
42b6dc5265 - not built -
add new error and header message names
2001-04-26 06:46:10 +00:00
rginda%netscape.com
fc7fdd52e0 - not built -
refactor result display from the evalIn*Scope functions to onInputEval[D]()
print header information for props[D]
2001-04-26 06:45:27 +00:00
rginda%netscape.com
4074894d44 - not built -
add breakpoint hook
throw an error if there is no debugger service
use new on() and off() methods
check type of param in displayProperties()
2001-04-26 06:43:55 +00:00
rginda%netscape.com
38f47cbeac - not built -
css tweakage
2001-04-24 22:01:32 +00:00
rginda%netscape.com
e55bf97183 - not built -
more strings
2001-04-24 22:00:01 +00:00
rginda%netscape.com
e06aa3151e - not built -
capture window.onkeypress so we can focus the input control whenever the user hits tab
2001-04-24 21:59:34 +00:00
rginda%netscape.com
f628334486 - not built -
declare warn and ASSERT vars
use message type constants instead of hardcoded "EVAL-IN", etc
focus the input widget onload
2001-04-24 21:58:48 +00:00
rginda%netscape.com
859ef10b4d - not built -
remove command character pref
2001-04-24 21:57:18 +00:00
rginda%netscape.com
24a7d7b0e9 - not built -
seperate VAL message types into WORD and VAL, VAL messages are words surrounded in <>, used as a variable name in a text message, WORD messages are single (well, no more than a few) words usually replaced into longer messages.
added more strings
2001-04-24 21:56:56 +00:00
rginda%netscape.com
2a8aced620 - not built -
remove the "/" before commands.  No reason to use "/where" over just "where" in a debugger
implement evald, props, and propsd commands
s/VAL/SCOPE/ where appripriate
remove unused parameter from quit and where
add pgup and pgdn handkers
2001-04-24 21:54:59 +00:00
rginda%netscape.com
552e23d4ec - not built -
s/VAL/WORD/
2001-04-24 21:52:07 +00:00
rginda%netscape.com
772a4f3ee3 - not bult -
add evald, props, and propsd commands
2001-04-24 21:51:36 +00:00
rginda%netscape.com
63ea180152 - not built -
add FEVAL-* sheets for evals performed in the debug target's current frame
random colors changed again
2001-04-24 00:56:41 +00:00
rginda%netscape.com
27eb5cd371 - not built -
more string fun
2001-04-24 00:55:24 +00:00
rginda%netscape.com
88eb8295b1 - not built -
add tons of .js files for drag-and-drop and tooltips support
add tooltip popupset
switch from an html:iframe (which supports .contentDocument) to a xul:iframe (which supports tooltips and dnd)
2001-04-24 00:55:04 +00:00
rginda%netscape.com
d59e0400f0 - not built -
copy getCommonPfx() from chatzilla's utils.js, used for tab complete
2001-04-24 00:53:41 +00:00
rginda%netscape.com
d40e38d621 - not built -
promote console.display() to display()
add displayCommands(), evalInDebuggerScope(), evalInTargetScope(), fillInToolTip() [copied from chatzilla], formatEvalException() [refactored from venkman-handlers.js]
set window._content for drag-and-drop foo
call displayCommands() on startup.
add "venkman-link" to CSS class in htmlVA() for the case where the caller is providing custom attributes that do not include "class"
2001-04-24 00:53:00 +00:00
rginda%netscape.com
182dd02715 - not built -
add preff for tab-tab timeout
2001-04-24 00:49:17 +00:00
rginda%netscape.com
d37a48fd41 - not built -
wrap string bundle calls in a try/catch
add CMD_* consts and other l10n strings
2001-04-24 00:48:57 +00:00
rginda%netscape.com
75a1cc1715 - not built -
don't print usage if a command returns false, that's lame
imeplement /commands, /cont
factor exception formatting into formatEvalException now that there are two places that need it
make onInputEval evaluate in the target scope instead of the debugger's scope
copy tab complete code from chatzilla
2001-04-24 00:47:57 +00:00
rginda%netscape.com
1ec97c9860 -not built-
add $ array to hold return values from /eval commands
save currentFrameIndex into the frames array, instead of a reference to the current frame.
2001-04-24 00:45:45 +00:00
rginda%netscape.com
150b13b445 - not built -
switch from hardcoded strings to localizable things
add /commands, and /cont commands
2001-04-24 00:44:30 +00:00
rginda%netscape.com
9c7160191f - not built -
add venkman-link effects
assorted color/style changes
2001-04-23 19:33:20 +00:00
rginda%netscape.com
9b54077ec2 - not built -
more l10n strings
2001-04-23 19:32:27 +00:00
rginda%netscape.com
cb284dc98e - not built -
add argumentsAsArray() utility function to create an array out of extra arguments passed to a function
2001-04-23 19:31:53 +00:00
rginda%netscape.com
528699fdf3 - not built -
add htmlVA() to create anchors with the "venkman-link" class
print hello message on successful startup, with link to sample debug target.
add exception IDs missing parameter, invalid parameter, and subscript load exceptions
add function name property to BadMojo objects
throw invalis parameter from display() if the parameter looks bad.
switch from document.createElementNS to the new html utility functions.
allow message to be a string (we create the testnode), or a DOM object (we just append it to the content tree)
2001-04-23 19:30:44 +00:00
rginda%netscape.com
2af83a26f4 -not built-
more l10n strings
2001-04-23 19:26:04 +00:00
rginda%netscape.com
403bc394dd -not built-
remove sample output
s/console.commands/console._commands/g, leading _ indicates variable is "private"
l10n in onInputCommand()
report function name for caught exceptions, if it is available
implement /frame, /help, /scope, /quit, and /where
2001-04-23 19:24:32 +00:00
rginda%netscape.com
aa3357010b - not built -
factor debug stop code into debugTrap()
add detachDebugger() function to cleanup the debugger onunload
add formatProperty, formatScript, formatStackFrame, and formatValue fucntions to turn jsdI* values into strings
add displayCallStack() function to dump the call stack to the console
add displayFrame() function to dump a frame to the console
2001-04-23 19:21:53 +00:00
rginda%netscape.com
81114a7b8b - not built -
add eval, frame, help, scope, and where commands.  The hardcoded strings need to be moved into the .properties file.
2001-04-23 19:18:48 +00:00
rginda%netscape.com
100e213b1a - not built -
add utility functions for creating html elements
2001-04-23 19:17:39 +00:00
rginda%netscape.com
3bea39eb16 - not built -
don't need to getMsg for MSG_*, they're already gotten.
2001-04-21 02:55:47 +00:00
rginda%netscape.com
4ed77cc7a1 - not built -
add some strings.
2001-04-21 02:07:57 +00:00
rginda%netscape.com
52613a81da - not built -
include more javascript!
2001-04-21 02:07:17 +00:00
rginda%netscape.com
6baf04f562 - not built -
add warn and ASSERT
make load() a top level function
exception i18n, add numeric code to exceptions
2001-04-21 02:06:41 +00:00
rginda%netscape.com
89b45ccdd0 - not built -
i18n change
2001-04-21 02:04:21 +00:00
rginda%netscape.com
bc062ca8a8 - not built -
l18n changes
fix exception reporting
2001-04-21 02:02:41 +00:00
rginda%netscape.com
32f72d2fd2 - not built -
move variables into better places, flesh out the debuggerHook a bit more
add detachDebugger()
2001-04-21 02:01:17 +00:00
rginda%netscape.com
9496d8061c - not built -
add new files to the jar
2001-04-21 01:58:50 +00:00
rginda%netscape.com
97c03d97f4 -not built-
initial add
move the eval into it's own file, if we catch an exception with from this file, we know it came from something the user typed.
2001-04-21 01:58:24 +00:00
rginda%netscape.com
a05b52c85a - not built -
initial add
message utils and defines for l18n
2001-04-21 01:57:15 +00:00
rginda%netscape.com
71eb5ec205 - not built -
stop for debugger keyword
2001-04-20 04:43:03 +00:00
rginda%netscape.com
396d737f23 moving the xpcom wrapper into js/jsd 2001-04-17 08:57:15 +00:00
rginda%netscape.com
1982921232 - not built -
fixed NS_IF_ADDREF(aHook)s
added more hook attributes
2001-04-16 23:43:09 +00:00
rginda%netscape.com
82a9aed823 - not built -
Mac warning fixes by peterv
comment fixed
2001-04-16 20:22:42 +00:00
rginda%netscape.com
553623e45e - not built yet -
initial checkin of jsdebugger extension
2001-04-14 19:15:10 +00:00