r=mkaply, sr=blizzard
OS/2 only - code from jblanco to fix codepage mapping issues in migrating bookmarks
git-svn-id: svn://10.0.0.236/trunk@98623 18797224-902f-48f8-a5cc-f745e15eee43
add styles for executable/not executable lines in the source code window.
git-svn-id: svn://10.0.0.236/trunk@98591 18797224-902f-48f8-a5cc-f745e15eee43
add styles for executable/not executable lines in the source code window.
add style for exception trace messages.
color stop (red) and continue (green) messages so they're easy to spot.
git-svn-id: svn://10.0.0.236/trunk@98590 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
move debug object counters and various constructors to jsd_xpc.cpp
add LiveEphemeral struct to reperesent a link in a PRCList of ephemeral objects.
declare jsdIEphemeral interface in objects that need it, add invalidaAll static method to jsdIProperty and jsdIValue. jsdIObject still needs work.
git-svn-id: svn://10.0.0.236/trunk@98577 18797224-902f-48f8-a5cc-f745e15eee43
Large changes to improve the way we deal with our wrappers around js engine structures. jsdIScript, jsdIStackFrame, jsdIValue, and jsdIProperty interfaces now inherit from a new interface "jsdIEphemeral". This interface is used to invalidate the wrapper. Once the wrapper is invalidated, *most* methods throw NS_ERROR_NOT_AVAILABLE, some interfaces, such as jsdIScript, cache important information so that the wrapper isn't utterly useless once it has been invalidated. The boolean isValid attribute can be used to see if the wrapper is still valid.
factor debug object counters into some simple macros
add new velid assertion macros for the new ephemeral objects
add utility functions for dealing with PR_CLISTs full of ephemeral objects.
invalidate the jsdIFrame after the execution hook completes
move some c/dtors from jsd_xpc.h over here to avoid exposing debug object counters, and repeating some macros
fix incorrectly set out parameter in getValue::GetDoubleValue
git-svn-id: svn://10.0.0.236/trunk@98576 18797224-902f-48f8-a5cc-f745e15eee43