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"
git-svn-id: svn://10.0.0.236/trunk@92973 18797224-902f-48f8-a5cc-f745e15eee43
wrap string bundle calls in a try/catch
add CMD_* consts and other l10n strings
git-svn-id: svn://10.0.0.236/trunk@92970 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@92969 18797224-902f-48f8-a5cc-f745e15eee43
add $ array to hold return values from /eval commands
save currentFrameIndex into the frames array, instead of a reference to the current frame.
git-svn-id: svn://10.0.0.236/trunk@92968 18797224-902f-48f8-a5cc-f745e15eee43
switch from hardcoded strings to localizable things
add /commands, and /cont commands
git-svn-id: svn://10.0.0.236/trunk@92967 18797224-902f-48f8-a5cc-f745e15eee43
master dir does not need to come from the same nssver (for example tip, 32...)
now only a change in the variable BC_MASTER is needed to test against a
different build
git-svn-id: svn://10.0.0.236/trunk@92965 18797224-902f-48f8-a5cc-f745e15eee43
Force solaris to use in-tree mkdepend since their system makedepend up to at least solaris 7 causes the build times to more than double with the new non-compiler dependency scheme.
git-svn-id: svn://10.0.0.236/trunk@92958 18797224-902f-48f8-a5cc-f745e15eee43
add argumentsAsArray() utility function to create an array out of extra arguments passed to a function
git-svn-id: svn://10.0.0.236/trunk@92942 18797224-902f-48f8-a5cc-f745e15eee43
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)
git-svn-id: svn://10.0.0.236/trunk@92941 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@92939 18797224-902f-48f8-a5cc-f745e15eee43
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
git-svn-id: svn://10.0.0.236/trunk@92938 18797224-902f-48f8-a5cc-f745e15eee43
add eval, frame, help, scope, and where commands. The hardcoded strings need to be moved into the .properties file.
git-svn-id: svn://10.0.0.236/trunk@92937 18797224-902f-48f8-a5cc-f745e15eee43
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
add line attribute to jsdStackFrame
add pcToLine and lineToPc methods to jsdStackFrame
remove isFunction attribute from jsdValue (already covered by jsType attribute)
add propertyCount attribute to jsdValue so you can get the property cound without forcing a bunch of property wrappers to be created (as in GetProperties())
git-svn-id: svn://10.0.0.236/trunk@92934 18797224-902f-48f8-a5cc-f745e15eee43
patch by Roland.Mainz@informatik.med.uni-giessen.de
r=blizzard, sr=shaver, a=roc+moz
Not part of build.
git-svn-id: svn://10.0.0.236/trunk@92908 18797224-902f-48f8-a5cc-f745e15eee43