part of bug 109652, "Venkman needs to profile" r=peterv,a=shaver
add profiling support to debugger front end
git-svn-id: svn://10.0.0.236/trunk@115417 18797224-902f-48f8-a5cc-f745e15eee43
Adds a "Windows" child to the project view, which tracks all open windows. Script tags and sub-windows are displayed as children of windows. Users can now visit files even if they aren't loaded by the js engine. Clicking on the margin of a line in a file which is not currently loaded by the engine sets a future breakpoint. See also bug 110312.
find-url command exposed to the console.
fixed strict warning in the command-manager.
git-svn-id: svn://10.0.0.236/trunk@115059 18797224-902f-48f8-a5cc-f745e15eee43
if (0) out the targetWindow stuff until window modality/enable stuff is sorted out.
git-svn-id: svn://10.0.0.236/trunk@114682 18797224-902f-48f8-a5cc-f745e15eee43
make venkman use the new "native frames" option checked in as part of bug 124474.
add min-height to all outliners to avoid bug 121583.
copy childData to scriptRecList in scriptsView.getContext, instead of copying the array one element at a time.
git-svn-id: svn://10.0.0.236/trunk@114497 18797224-902f-48f8-a5cc-f745e15eee43
Bug 124488, "Venkman not stopping at breakpoints"
s/glob/globalObject/ on system filters.
git-svn-id: svn://10.0.0.236/trunk@114340 18797224-902f-48f8-a5cc-f745e15eee43
fix issues with removing children from unparented records.
added (and commented out) some common debug dumps.
added debug functions tov_formatRecord/formatBranch
git-svn-id: svn://10.0.0.236/trunk@113887 18797224-902f-48f8-a5cc-f745e15eee43
fix bogus parse code. Old code had problems when the last argument before an optional was missing.
git-svn-id: svn://10.0.0.236/trunk@113886 18797224-902f-48f8-a5cc-f745e15eee43
bug 122850, venkman error on startup
the fix for bug 121744 made |for (a in undefined);| throw an error, so now we have to validate |attrs| here.
git-svn-id: svn://10.0.0.236/trunk@113447 18797224-902f-48f8-a5cc-f745e15eee43
fix feedback call in cmdBreak
remove busted code in soruceView.onSelect, which tried to prevent users from selecting multiple ranges. It didn't work, and we don't need it anyway.
catch exceptions during dispatchCommand and display a message on the consoel view
fix = vs. == mixup in sourceView.getContext, arg!
add breakpointIndexList to sourceView.getContext so we can disable all selected breakpoints.
remove some debug dumps
add command name to dbgDispatch message
git-svn-id: svn://10.0.0.236/trunk@113275 18797224-902f-48f8-a5cc-f745e15eee43
ASSERT that we have children in removeChildAtIndex
dump the context object if |console.dbgContexts| in the contextFunction.
make cmdClear work if given a breakpointIndexList.
fix cmdFindBp.
add script realization debugging if |console.dbgRealize|.
add command dispatch debugging if |console.dbgDispatch|.
fix bug 110387, crash on exiting venkman.
add dbg* prefs and sync-debug command in venkman-dev.js.
git-svn-id: svn://10.0.0.236/trunk@113261 18797224-902f-48f8-a5cc-f745e15eee43
remove debug dumps in variious getContext functions
warning cleanup in outliner-utils.js
add chrome-filter command to set the state of console.enableChromeFilter
if on, chrome files will not be displayed in the scripts view, and they will be filtered by the debugger service. If off, chrome files will be treated the same as others. chrome files are identified by a leading "chrome:" in the url.
add "Display Browser Files" checkitem to View menu.
add |feedback| function, which calls |display| only if the event began at the console.
fix async loading issue in SourceText.loadSource
fix boolean pref getter in venkman-prefs.js
git-svn-id: svn://10.0.0.236/trunk@113184 18797224-902f-48f8-a5cc-f745e15eee43
ui changes for bugs 121192 and 121178.
adds "emode" command, display any expcetions produced by evalInTargetScope
git-svn-id: svn://10.0.0.236/trunk@113108 18797224-902f-48f8-a5cc-f745e15eee43
lineMap no longer required in SourceText records, HelpText doesn't need it.
git-svn-id: svn://10.0.0.236/trunk@112930 18797224-902f-48f8-a5cc-f745e15eee43
get default context without complaining for debug and view menus, remove debug dump.
git-svn-id: svn://10.0.0.236/trunk@112929 18797224-902f-48f8-a5cc-f745e15eee43
store commandname attribute on menuitem so we don't need to parse it onpopupshowing, makes for faster menus.
git-svn-id: svn://10.0.0.236/trunk@112928 18797224-902f-48f8-a5cc-f745e15eee43
Large landing of new Venkman command structure, also fixes...
Bug 120988 Generalized command manager for Venkman
Bug 103419 hitting a breakpoint should focus debugger
Bug 119867 Should not be possible to hide source code
Bug 118923 Venkman's outliners sometimes don't repaint twisty
Bug 116098 Would be nice with a contextmenu in the functions-pane
git-svn-id: svn://10.0.0.236/trunk@112685 18797224-902f-48f8-a5cc-f745e15eee43
94653 - can't right align text in outliner cell
95730 - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.
- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable
r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes
sr=hyatt,hewitt
git-svn-id: svn://10.0.0.236/trunk@112268 18797224-902f-48f8-a5cc-f745e15eee43
Fix for 118632. file picker can display all column arrows.
r=bryner, sr=hyatt
- getCellAt() now checks for correct mouse coordinates and sets row value
to -1 for invalid coordinates.
- added bail out checks to all callers.
git-svn-id: svn://10.0.0.236/trunk@111793 18797224-902f-48f8-a5cc-f745e15eee43
Use the new filtering api to allow users to safely debug with initAtStartup enabled. Also adds highlighting to source view, saves stack view state, fixes selection problems in the outliners, cleans up some strict mode issues, and refactors menu and script tags out of venkman.xul
git-svn-id: svn://10.0.0.236/trunk@106693 18797224-902f-48f8-a5cc-f745e15eee43
remove bogus classes from outliner columns
make line number column wider by default
add splitter to source view
git-svn-id: svn://10.0.0.236/trunk@105694 18797224-902f-48f8-a5cc-f745e15eee43
move from "checked" attribute to "willStop" on the stop button because the classic skin does silly things for "checked".
git-svn-id: svn://10.0.0.236/trunk@105693 18797224-902f-48f8-a5cc-f745e15eee43
invalidate outliner after continuing so the yellow bar goes away
strict mode fix
git-svn-id: svn://10.0.0.236/trunk@105692 18797224-902f-48f8-a5cc-f745e15eee43
move from setTimeout to the new enterNestedEventLoop callback
some strict mode changes
fix file/line regexps
git-svn-id: svn://10.0.0.236/trunk@105020 18797224-902f-48f8-a5cc-f745e15eee43