record last stack depth. when the stack depth changes, we display a frame header in the console for single step mode.
git-svn-id: svn://10.0.0.236/trunk@102357 18797224-902f-48f8-a5cc-f745e15eee43
move debugTrap code that may involve network activity from venkman-debugger.js to this file.
strict mode fixes.
fix outliner select events, which range checked against the wrong properties.
git-svn-id: svn://10.0.0.236/trunk@102355 18797224-902f-48f8-a5cc-f745e15eee43
move calls that might involve network activity to *after* te enterNestedEventLoop() call so their requests go on the pushed thread. The call is made after enterNestedEventLoop (which, by definition, blocks) via a setTimeout call.
git-svn-id: svn://10.0.0.236/trunk@102353 18797224-902f-48f8-a5cc-f745e15eee43
make dump tree function taka a param
remove bogus _cache dance
add matchesScriptRecord method to breakpoint record
only do the icode replacement if the breakpoint is enabled in addScriptRecord
git-svn-id: svn://10.0.0.236/trunk@102251 18797224-902f-48f8-a5cc-f745e15eee43
change string concats to getMsg calls, to make bidi more better
don't duplicate setBreakpoints()s efforts by checking for matching files in onInputBreak
reimpliment onInputFBreak
remove onInputFClear. future breakpoints can now be cleared wit the standard clear command.
remove dead onScriptCreated function
git-svn-id: svn://10.0.0.236/trunk@102249 18797224-902f-48f8-a5cc-f745e15eee43
dont pay attention to scripts without filenames
remove script from the script tree when it is unloaded
if a newly created script matches an existing breakpoint record, add that script to the breakpoint record.
remove obsoleted future breakpoint functions
git-svn-id: svn://10.0.0.236/trunk@102248 18797224-902f-48f8-a5cc-f745e15eee43
remove fclear command, future breakpoints now share the same list as normal breakpoints. the standard clear comman will suffice
git-svn-id: svn://10.0.0.236/trunk@102247 18797224-902f-48f8-a5cc-f745e15eee43
hook up step out, step over, and stop commands
add outliners for new project, script, and stack views
git-svn-id: svn://10.0.0.236/trunk@102163 18797224-902f-48f8-a5cc-f745e15eee43
implement next, step out, and stop state commands
bring breakpoint implementation in line with the new breakpoint and script views
add destroy() method to tear down the debugger
git-svn-id: svn://10.0.0.236/trunk@102161 18797224-902f-48f8-a5cc-f745e15eee43
hook up next, stepout, finish, and stop commands
event handler work for the new project, script, and stack views
git-svn-id: svn://10.0.0.236/trunk@102156 18797224-902f-48f8-a5cc-f745e15eee43
whitespace cleanup
use new TreeOView stuff, add breakpoint, project, and stack view support
git-svn-id: svn://10.0.0.236/trunk@102155 18797224-902f-48f8-a5cc-f745e15eee43
add scrollTo to BasicOView
add generic tree outliner view support (TreeOView and TreeOViewRecord)
git-svn-id: svn://10.0.0.236/trunk@102153 18797224-902f-48f8-a5cc-f745e15eee43
remove the "reload ui" menu item
make some checkbox menu items radios instead
git-svn-id: svn://10.0.0.236/trunk@100272 18797224-902f-48f8-a5cc-f745e15eee43
modify script loading to work with the corrected script extent information (fixed in bug 82188)
git-svn-id: svn://10.0.0.236/trunk@100268 18797224-902f-48f8-a5cc-f745e15eee43
decrement console._stopLevel in cont() and step() functions, like good little boys and girls
initDebugger *after* setting up the console routines, we'll need them
git-svn-id: svn://10.0.0.236/trunk@98586 18797224-902f-48f8-a5cc-f745e15eee43
propagate executable/not executable information to he outliner to we can CSS it.
git-svn-id: svn://10.0.0.236/trunk@98583 18797224-902f-48f8-a5cc-f745e15eee43
add ETRACE message type for traced exceptions
add other message names mostly related to the tmode command and exception tracing.
git-svn-id: svn://10.0.0.236/trunk@98582 18797224-902f-48f8-a5cc-f745e15eee43
set up the excetions submenu checkmarks correctly onCreate
load the source if it's not there in onDebugTrap
add onDebugContinue to clear our state when we continue
implement tmode command
move onclose back to onunload, onclose doesn't fire if the user selects "Quit" from the file menu.
git-svn-id: svn://10.0.0.236/trunk@98581 18797224-902f-48f8-a5cc-f745e15eee43
add tmode command to trace/ break when the target throws an exception.
fix "breakpoint hit while servicing breakpoint" behavior. When we hit the second breakpoint, its stack is put on top of the current stack. Not the best solution, but better than leaving the user in an undefined state.
distunguish between executable and non-executable lines in the source array so we can distinguish the lines in CSS.
expand tabs in the source (outliner doesn't know what to do with \t.)
if we can't load a source file sync, try it async.
git-svn-id: svn://10.0.0.236/trunk@98580 18797224-902f-48f8-a5cc-f745e15eee43
s/throw BadMojo/throw new BadMojo/g so we can test with instanceof later
add formatException() function
redo BadMojo() to construct a new object, we'll need the prototype chain set up right so we can test exceptions with instanceof
git-svn-id: svn://10.0.0.236/trunk@98161 18797224-902f-48f8-a5cc-f745e15eee43
catch startup exceptions and complain.
use MSG_COMMASP instead of ", "
print formatted jsdIValue in the props command's error message
detach debugger onClose instead of onUnload
git-svn-id: svn://10.0.0.236/trunk@98159 18797224-902f-48f8-a5cc-f745e15eee43
s/throw BadMojo/throw new BadMojo/g so we can test with instanceof later
split on $ (end of line) instead of \n, as discussed in bug 85968
git-svn-id: svn://10.0.0.236/trunk@98156 18797224-902f-48f8-a5cc-f745e15eee43
add default size for window
persist outliner column visibility and position
git-svn-id: svn://10.0.0.236/trunk@97144 18797224-902f-48f8-a5cc-f745e15eee43
factor basic outliner view out into outliner-utils.js
attach setCurrentLine() to _sourceOutlinerView, instead of BasicOView
git-svn-id: svn://10.0.0.236/trunk@97143 18797224-902f-48f8-a5cc-f745e15eee43