browser/devtools/debugger/debugger.xul

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5 <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
michael@0 6 <?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?>
michael@0 7 <?xml-stylesheet href="chrome://browser/content/devtools/debugger.css" type="text/css"?>
michael@0 8 <?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
michael@0 9 <?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?>
michael@0 10 <?xml-stylesheet href="chrome://browser/skin/devtools/debugger.css" type="text/css"?>
michael@0 11 <!DOCTYPE window [
michael@0 12 <!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/debugger.dtd">
michael@0 13 %debuggerDTD;
michael@0 14 ]>
michael@0 15 <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
michael@0 16
michael@0 17 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 18 macanimationtype="document"
michael@0 19 fullscreenbutton="true"
michael@0 20 screenX="4" screenY="4"
michael@0 21 width="960" height="480"
michael@0 22 persist="screenX screenY width height sizemode">
michael@0 23
michael@0 24 <script type="application/javascript;version=1.8"
michael@0 25 src="chrome://browser/content/devtools/theme-switching.js"/>
michael@0 26 <script type="text/javascript" src="chrome://global/content/globalOverlay.js"/>
michael@0 27 <script type="text/javascript" src="debugger-controller.js"/>
michael@0 28 <script type="text/javascript" src="debugger-view.js"/>
michael@0 29 <script type="text/javascript" src="debugger-toolbar.js"/>
michael@0 30 <script type="text/javascript" src="debugger-panes.js"/>
michael@0 31
michael@0 32 <commandset id="editMenuCommands"/>
michael@0 33
michael@0 34 <commandset id="debuggerCommands">
michael@0 35 <command id="blackBoxCommand"
michael@0 36 oncommand="DebuggerView.Sources.toggleBlackBoxing()"/>
michael@0 37 <command id="unBlackBoxButton"
michael@0 38 oncommand="DebuggerView.Sources._onStopBlackBoxing()"/>
michael@0 39 <command id="prettyPrintCommand"
michael@0 40 oncommand="DebuggerView.Sources.togglePrettyPrint()"/>
michael@0 41 <command id="toggleBreakpointsCommand"
michael@0 42 oncommand="DebuggerView.Sources.toggleBreakpoints()"/>
michael@0 43 <command id="nextSourceCommand"
michael@0 44 oncommand="DebuggerView.Sources.selectNextItem()"/>
michael@0 45 <command id="prevSourceCommand"
michael@0 46 oncommand="DebuggerView.Sources.selectPrevItem()"/>
michael@0 47 <command id="resumeCommand"
michael@0 48 oncommand="DebuggerView.Toolbar._onResumePressed()"/>
michael@0 49 <command id="stepOverCommand"
michael@0 50 oncommand="DebuggerView.Toolbar._onStepOverPressed()"/>
michael@0 51 <command id="stepInCommand"
michael@0 52 oncommand="DebuggerView.Toolbar._onStepInPressed()"/>
michael@0 53 <command id="stepOutCommand"
michael@0 54 oncommand="DebuggerView.Toolbar._onStepOutPressed()"/>
michael@0 55 <command id="fileSearchCommand"
michael@0 56 oncommand="DebuggerView.Filtering._doFileSearch()"/>
michael@0 57 <command id="globalSearchCommand"
michael@0 58 oncommand="DebuggerView.Filtering._doGlobalSearch()"/>
michael@0 59 <command id="functionSearchCommand"
michael@0 60 oncommand="DepbuggerView.Filtering._doFunctionSearch()"/>
michael@0 61 <command id="tokenSearchCommand"
michael@0 62 oncommand="DebuggerView.Filtering._doTokenSearch()"/>
michael@0 63 <command id="lineSearchCommand"
michael@0 64 oncommand="DebuggerView.Filtering._doLineSearch()"/>
michael@0 65 <command id="variableSearchCommand"
michael@0 66 oncommand="DebuggerView.Filtering._doVariableSearch()"/>
michael@0 67 <command id="variablesFocusCommand"
michael@0 68 oncommand="DebuggerView.Filtering._doVariablesFocus()"/>
michael@0 69 <command id="addBreakpointCommand"
michael@0 70 oncommand="DebuggerView.Sources._onCmdAddBreakpoint()"/>
michael@0 71 <command id="addConditionalBreakpointCommand"
michael@0 72 oncommand="DebuggerView.Sources._onCmdAddConditionalBreakpoint()"/>
michael@0 73 <command id="addWatchExpressionCommand"
michael@0 74 oncommand="DebuggerView.WatchExpressions._onCmdAddExpression()"/>
michael@0 75 <command id="removeAllWatchExpressionsCommand"
michael@0 76 oncommand="DebuggerView.WatchExpressions._onCmdRemoveAllExpressions()"/>
michael@0 77 <command id="toggleAutoPrettyPrint"
michael@0 78 oncommand="DebuggerView.Options._toggleAutoPrettyPrint()"/>
michael@0 79 <command id="togglePauseOnExceptions"
michael@0 80 oncommand="DebuggerView.Options._togglePauseOnExceptions()"/>
michael@0 81 <command id="toggleIgnoreCaughtExceptions"
michael@0 82 oncommand="DebuggerView.Options._toggleIgnoreCaughtExceptions()"/>
michael@0 83 <command id="toggleShowPanesOnStartup"
michael@0 84 oncommand="DebuggerView.Options._toggleShowPanesOnStartup()"/>
michael@0 85 <command id="toggleShowOnlyEnum"
michael@0 86 oncommand="DebuggerView.Options._toggleShowVariablesOnlyEnum()"/>
michael@0 87 <command id="toggleShowVariablesFilterBox"
michael@0 88 oncommand="DebuggerView.Options._toggleShowVariablesFilterBox()"/>
michael@0 89 <command id="toggleShowOriginalSource"
michael@0 90 oncommand="DebuggerView.Options._toggleShowOriginalSource()"/>
michael@0 91 <command id="toggleTracing"
michael@0 92 oncommand="DebuggerView.Tracer._onToggleTracing()"/>
michael@0 93 <command id="startTracing"
michael@0 94 oncommand="DebuggerView.Tracer._onStartTracing()"/>
michael@0 95 <command id="clearTraces"
michael@0 96 oncommand="DebuggerView.Tracer._onClear()"/>
michael@0 97 </commandset>
michael@0 98
michael@0 99 <popupset id="debuggerPopupset">
michael@0 100 <menupopup id="sourceEditorContextMenu"
michael@0 101 onpopupshowing="goUpdateGlobalEditMenuItems()">
michael@0 102 <menuitem id="se-dbg-cMenu-addBreakpoint"
michael@0 103 label="&debuggerUI.seMenuBreak;"
michael@0 104 key="addBreakpointKey"
michael@0 105 command="addBreakpointCommand"/>
michael@0 106 <menuitem id="se-dbg-cMenu-addConditionalBreakpoint"
michael@0 107 label="&debuggerUI.seMenuCondBreak;"
michael@0 108 key="addConditionalBreakpointKey"
michael@0 109 command="addConditionalBreakpointCommand"/>
michael@0 110 <menuitem id="se-dbg-cMenu-addAsWatch"
michael@0 111 label="&debuggerUI.seMenuAddWatch;"
michael@0 112 key="addWatchExpressionKey"
michael@0 113 command="addWatchExpressionCommand"/>
michael@0 114 <menuseparator/>
michael@0 115 <menuitem id="cMenu_copy"/>
michael@0 116 <menuseparator/>
michael@0 117 <menuitem id="cMenu_selectAll"/>
michael@0 118 <menuseparator/>
michael@0 119 <menuitem id="se-dbg-cMenu-findFile"
michael@0 120 label="&debuggerUI.searchFile;"
michael@0 121 accesskey="&debuggerUI.searchFile.accesskey;"
michael@0 122 key="fileSearchKey"
michael@0 123 command="fileSearchCommand"/>
michael@0 124 <menuitem id="se-dbg-cMenu-findGlobal"
michael@0 125 label="&debuggerUI.searchGlobal;"
michael@0 126 accesskey="&debuggerUI.searchGlobal.accesskey;"
michael@0 127 key="globalSearchKey"
michael@0 128 command="globalSearchCommand"/>
michael@0 129 <menuitem id="se-dbg-cMenu-findFunction"
michael@0 130 label="&debuggerUI.searchFunction;"
michael@0 131 accesskey="&debuggerUI.searchFunction.accesskey;"
michael@0 132 key="functionSearchKey"
michael@0 133 command="functionSearchCommand"/>
michael@0 134 <menuseparator/>
michael@0 135 <menuitem id="se-dbg-cMenu-findToken"
michael@0 136 label="&debuggerUI.searchToken;"
michael@0 137 accesskey="&debuggerUI.searchToken.accesskey;"
michael@0 138 key="tokenSearchKey"
michael@0 139 command="tokenSearchCommand"/>
michael@0 140 <menuitem id="se-dbg-cMenu-findLine"
michael@0 141 label="&debuggerUI.searchGoToLine;"
michael@0 142 accesskey="&debuggerUI.searchGoToLine.accesskey;"
michael@0 143 key="lineSearchKey"
michael@0 144 command="lineSearchCommand"/>
michael@0 145 <menuseparator/>
michael@0 146 <menuitem id="se-dbg-cMenu-findVariable"
michael@0 147 label="&debuggerUI.searchVariable;"
michael@0 148 accesskey="&debuggerUI.searchVariable.accesskey;"
michael@0 149 key="variableSearchKey"
michael@0 150 command="variableSearchCommand"/>
michael@0 151 <menuitem id="se-dbg-cMenu-focusVariables"
michael@0 152 label="&debuggerUI.focusVariables;"
michael@0 153 accesskey="&debuggerUI.focusVariables.accesskey;"
michael@0 154 key="variablesFocusKey"
michael@0 155 command="variablesFocusCommand"/>
michael@0 156 <menuitem id="se-dbg-cMenu-prettyPrint"
michael@0 157 label="&debuggerUI.sources.prettyPrint;"
michael@0 158 command="prettyPrintCommand"/>
michael@0 159 </menupopup>
michael@0 160 <menupopup id="debuggerWatchExpressionsContextMenu">
michael@0 161 <menuitem id="add-watch-expression"
michael@0 162 label="&debuggerUI.addWatch;"
michael@0 163 accesskey="&debuggerUI.addWatch.accesskey;"
michael@0 164 key="addWatchExpressionKey"
michael@0 165 command="addWatchExpressionCommand"/>
michael@0 166 <menuitem id="removeAll-watch-expression"
michael@0 167 label="&debuggerUI.removeAllWatch;"
michael@0 168 accesskey="&debuggerUI.removeAllWatch.accesskey;"
michael@0 169 key="removeAllWatchExpressionsKey"
michael@0 170 command="removeAllWatchExpressionsCommand"/>
michael@0 171 </menupopup>
michael@0 172 <menupopup id="debuggerPrefsContextMenu"
michael@0 173 position="before_end"
michael@0 174 onpopupshowing="DebuggerView.Options._onPopupShowing()"
michael@0 175 onpopuphiding="DebuggerView.Options._onPopupHiding()"
michael@0 176 onpopuphidden="DebuggerView.Options._onPopupHidden()">
michael@0 177 <menuitem id="auto-pretty-print"
michael@0 178 type="checkbox"
michael@0 179 label="&debuggerUI.autoPrettyPrint;"
michael@0 180 accesskey="&debuggerUI.autoPrettyPrint.accesskey;"
michael@0 181 command="toggleAutoPrettyPrint"/>
michael@0 182 <menuitem id="pause-on-exceptions"
michael@0 183 type="checkbox"
michael@0 184 label="&debuggerUI.pauseExceptions;"
michael@0 185 accesskey="&debuggerUI.pauseExceptions.accesskey;"
michael@0 186 command="togglePauseOnExceptions"/>
michael@0 187 <menuitem id="ignore-caught-exceptions"
michael@0 188 type="checkbox"
michael@0 189 label="&debuggerUI.ignoreCaughtExceptions;"
michael@0 190 accesskey="&debuggerUI.ignoreCaughtExceptions.accesskey;"
michael@0 191 command="toggleIgnoreCaughtExceptions"/>
michael@0 192 <menuitem id="show-panes-on-startup"
michael@0 193 type="checkbox"
michael@0 194 label="&debuggerUI.showPanesOnInit;"
michael@0 195 accesskey="&debuggerUI.showPanesOnInit.accesskey;"
michael@0 196 command="toggleShowPanesOnStartup"/>
michael@0 197 <menuitem id="show-vars-only-enum"
michael@0 198 type="checkbox"
michael@0 199 label="&debuggerUI.showOnlyEnum;"
michael@0 200 accesskey="&debuggerUI.showOnlyEnum.accesskey;"
michael@0 201 command="toggleShowOnlyEnum"/>
michael@0 202 <menuitem id="show-vars-filter-box"
michael@0 203 type="checkbox"
michael@0 204 label="&debuggerUI.showVarsFilter;"
michael@0 205 accesskey="&debuggerUI.showVarsFilter.accesskey;"
michael@0 206 command="toggleShowVariablesFilterBox"/>
michael@0 207 <menuitem id="show-original-source"
michael@0 208 type="checkbox"
michael@0 209 label="&debuggerUI.showOriginalSource;"
michael@0 210 accesskey="&debuggerUI.showOriginalSource.accesskey;"
michael@0 211 command="toggleShowOriginalSource"/>
michael@0 212 </menupopup>
michael@0 213 </popupset>
michael@0 214
michael@0 215 <keyset id="debuggerKeys">
michael@0 216 <key id="nextSourceKey"
michael@0 217 keycode="VK_DOWN"
michael@0 218 modifiers="accel alt"
michael@0 219 command="nextSourceCommand"/>
michael@0 220 <key id="prevSourceKey"
michael@0 221 keycode="VK_UP"
michael@0 222 modifiers="accel alt"
michael@0 223 command="prevSourceCommand"/>
michael@0 224 <key id="resumeKey"
michael@0 225 keycode="&debuggerUI.stepping.resume1;"
michael@0 226 command="resumeCommand"/>
michael@0 227 <key id="resumeKey2"
michael@0 228 keycode="&debuggerUI.stepping.resume2;"
michael@0 229 modifiers="accel"
michael@0 230 command="resumeCommand"/>
michael@0 231 <key id="stepOverKey"
michael@0 232 keycode="&debuggerUI.stepping.stepOver1;"
michael@0 233 command="stepOverCommand"/>
michael@0 234 <key id="stepOverKey2"
michael@0 235 keycode="&debuggerUI.stepping.stepOver2;"
michael@0 236 modifiers="accel"
michael@0 237 command="stepOverCommand"/>
michael@0 238 <key id="stepInKey"
michael@0 239 keycode="&debuggerUI.stepping.stepIn1;"
michael@0 240 command="stepInCommand"/>
michael@0 241 <key id="stepInKey2"
michael@0 242 keycode="&debuggerUI.stepping.stepIn2;"
michael@0 243 modifiers="accel"
michael@0 244 command="stepInCommand"/>
michael@0 245 <key id="stepOutKey"
michael@0 246 keycode="&debuggerUI.stepping.stepOut1;"
michael@0 247 modifiers="shift"
michael@0 248 command="stepOutCommand"/>
michael@0 249 <key id="stepOutKey2"
michael@0 250 keycode="&debuggerUI.stepping.stepOut2;"
michael@0 251 modifiers="accel shift"
michael@0 252 command="stepOutCommand"/>
michael@0 253 <key id="fileSearchKey"
michael@0 254 key="&debuggerUI.searchFile.key;"
michael@0 255 modifiers="accel"
michael@0 256 command="fileSearchCommand"/>
michael@0 257 <key id="fileSearchKey"
michael@0 258 key="&debuggerUI.searchFile.altkey;"
michael@0 259 modifiers="accel"
michael@0 260 command="fileSearchCommand"/>
michael@0 261 <key id="globalSearchKey"
michael@0 262 key="&debuggerUI.searchGlobal.key;"
michael@0 263 modifiers="accel alt"
michael@0 264 command="globalSearchCommand"/>
michael@0 265 <key id="functionSearchKey"
michael@0 266 key="&debuggerUI.searchFunction.key;"
michael@0 267 modifiers="accel"
michael@0 268 command="functionSearchCommand"/>
michael@0 269 <key id="tokenSearchKey"
michael@0 270 key="&debuggerUI.searchToken.key;"
michael@0 271 modifiers="accel"
michael@0 272 command="tokenSearchCommand"/>
michael@0 273 <key id="lineSearchKey"
michael@0 274 key="&debuggerUI.searchGoToLine.key;"
michael@0 275 modifiers="accel"
michael@0 276 command="lineSearchCommand"/>
michael@0 277 <key id="variableSearchKey"
michael@0 278 key="&debuggerUI.searchVariable.key;"
michael@0 279 modifiers="accel alt"
michael@0 280 command="variableSearchCommand"/>
michael@0 281 <key id="variablesFocusKey"
michael@0 282 key="&debuggerUI.focusVariables.key;"
michael@0 283 modifiers="accel shift"
michael@0 284 command="variablesFocusCommand"/>
michael@0 285 <key id="addBreakpointKey"
michael@0 286 key="&debuggerUI.seMenuBreak.key;"
michael@0 287 modifiers="accel"
michael@0 288 command="addBreakpointCommand"/>
michael@0 289 <key id="addConditionalBreakpointKey"
michael@0 290 key="&debuggerUI.seMenuCondBreak.key;"
michael@0 291 modifiers="accel shift"
michael@0 292 command="addConditionalBreakpointCommand"/>
michael@0 293 <key id="addWatchExpressionKey"
michael@0 294 key="&debuggerUI.seMenuAddWatch.key;"
michael@0 295 modifiers="accel shift"
michael@0 296 command="addWatchExpressionCommand"/>
michael@0 297 <key id="removeAllWatchExpressionsKey"
michael@0 298 key="&debuggerUI.removeAllWatch.key;"
michael@0 299 modifiers="accel alt"
michael@0 300 command="removeAllWatchExpressionsCommand"/>
michael@0 301 </keyset>
michael@0 302
michael@0 303 <vbox id="body"
michael@0 304 class="theme-body"
michael@0 305 layout="horizontal"
michael@0 306 flex="1">
michael@0 307 <toolbar id="debugger-toolbar"
michael@0 308 class="devtools-toolbar">
michael@0 309 <hbox id="debugger-controls"
michael@0 310 class="devtools-toolbarbutton-group">
michael@0 311 <toolbarbutton id="resume"
michael@0 312 class="devtools-toolbarbutton"
michael@0 313 tabindex="0"/>
michael@0 314 <toolbarbutton id="step-over"
michael@0 315 class="devtools-toolbarbutton"
michael@0 316 tabindex="0"/>
michael@0 317 <toolbarbutton id="step-in"
michael@0 318 class="devtools-toolbarbutton"
michael@0 319 tabindex="0"/>
michael@0 320 <toolbarbutton id="step-out"
michael@0 321 class="devtools-toolbarbutton"
michael@0 322 tabindex="0"/>
michael@0 323 </hbox>
michael@0 324 <hbox>
michael@0 325 <toolbarbutton id="trace"
michael@0 326 class="devtools-toolbarbutton"
michael@0 327 command="toggleTracing"
michael@0 328 tabindex="0"
michael@0 329 hidden="true"/>
michael@0 330 </hbox>
michael@0 331 <vbox id="stackframes" flex="1"/>
michael@0 332 <textbox id="searchbox"
michael@0 333 class="devtools-searchinput" type="search"/>
michael@0 334 <toolbarbutton id="instruments-pane-toggle"
michael@0 335 class="devtools-toolbarbutton"
michael@0 336 tooltiptext="&debuggerUI.panesButton.tooltip;"
michael@0 337 tabindex="0"/>
michael@0 338 <toolbarbutton id="debugger-options"
michael@0 339 class="devtools-option-toolbarbutton"
michael@0 340 tooltiptext="&debuggerUI.optsButton.tooltip;"
michael@0 341 popup="debuggerPrefsContextMenu"
michael@0 342 tabindex="0"/>
michael@0 343 </toolbar>
michael@0 344 <vbox id="globalsearch" orient="vertical" hidden="true"/>
michael@0 345 <splitter class="devtools-horizontal-splitter" hidden="true"/>
michael@0 346 <hbox id="debugger-widgets" flex="1">
michael@0 347 <tabbox id="sources-pane"
michael@0 348 class="devtools-sidebar-tabs">
michael@0 349 <tabs>
michael@0 350 <tab id="sources-tab" label="&debuggerUI.tabs.sources;"/>
michael@0 351 <tab id="callstack-tab" label="&debuggerUI.tabs.callstack;"/>
michael@0 352 <tab id="tracer-tab" label="&debuggerUI.tabs.traces;" hidden="true"/>
michael@0 353 </tabs>
michael@0 354 <tabpanels flex="1">
michael@0 355 <tabpanel id="sources-tabpanel">
michael@0 356 <vbox id="sources" flex="1"/>
michael@0 357 <toolbar id="sources-toolbar" class="devtools-toolbar">
michael@0 358 <hbox id="sources-controls"
michael@0 359 class="devtools-toolbarbutton-group">
michael@0 360 <toolbarbutton id="black-box"
michael@0 361 class="devtools-toolbarbutton"
michael@0 362 tooltiptext="&debuggerUI.sources.blackBoxTooltip;"
michael@0 363 command="blackBoxCommand"/>
michael@0 364 <toolbarbutton id="pretty-print"
michael@0 365 class="devtools-toolbarbutton devtools-monospace"
michael@0 366 label="{}"
michael@0 367 tooltiptext="&debuggerUI.sources.prettyPrint;"
michael@0 368 command="prettyPrintCommand"
michael@0 369 hidden="true"/>
michael@0 370 </hbox>
michael@0 371 <toolbarbutton id="toggle-breakpoints"
michael@0 372 class="devtools-toolbarbutton"
michael@0 373 tooltiptext="&debuggerUI.sources.toggleBreakpoints;"
michael@0 374 command="toggleBreakpointsCommand"/>
michael@0 375 </toolbar>
michael@0 376 </tabpanel>
michael@0 377 <tabpanel id="callstack-tabpanel">
michael@0 378 <vbox id="callstack-list" flex="1"/>
michael@0 379 </tabpanel>
michael@0 380 <tabpanel id="tracer-tabpanel">
michael@0 381 <vbox id="tracer-traces" flex="1"/>
michael@0 382 <hbox class="trace-item-template" hidden="true">
michael@0 383 <hbox class="trace-item" align="center" flex="1" crop="end">
michael@0 384 <label class="trace-type plain"/>
michael@0 385 <label class="trace-name plain" crop="end"/>
michael@0 386 </hbox>
michael@0 387 </hbox>
michael@0 388 <toolbar id="tracer-toolbar" class="devtools-toolbar">
michael@0 389 <toolbarbutton id="clear-tracer"
michael@0 390 label="&debuggerUI.clearButton;"
michael@0 391 tooltiptext="&debuggerUI.clearButton.tooltip;"
michael@0 392 command="clearTraces"
michael@0 393 class="devtools-toolbarbutton"/>
michael@0 394 <textbox id="tracer-search"
michael@0 395 class="devtools-searchinput"
michael@0 396 flex="1"
michael@0 397 type="search"/>
michael@0 398 </toolbar>
michael@0 399 </tabpanel>
michael@0 400 </tabpanels>
michael@0 401 </tabbox>
michael@0 402 <splitter id="sources-and-editor-splitter"
michael@0 403 class="devtools-side-splitter"/>
michael@0 404 <deck id="editor-deck" flex="1">
michael@0 405 <vbox id="editor"/>
michael@0 406 <vbox id="black-boxed-message"
michael@0 407 align="center"
michael@0 408 pack="center">
michael@0 409 <description id="black-boxed-message-label">
michael@0 410 &debuggerUI.blackBoxMessage.label;
michael@0 411 </description>
michael@0 412 <button id="black-boxed-message-button"
michael@0 413 class="devtools-toolbarbutton"
michael@0 414 label="&debuggerUI.blackBoxMessage.unBlackBoxButton;"
michael@0 415 image="chrome://browser/skin/devtools/debugger-blackbox-eye.png"
michael@0 416 command="unBlackBoxCommand"/>
michael@0 417 </vbox>
michael@0 418 <vbox id="source-progress-container"
michael@0 419 align="center"
michael@0 420 pack="center">
michael@0 421 <progressmeter id="source-progress"
michael@0 422 mode="undetermined"/>
michael@0 423 </vbox>
michael@0 424 </deck>
michael@0 425 <splitter id="editor-and-instruments-splitter"
michael@0 426 class="devtools-side-splitter"/>
michael@0 427 <tabbox id="instruments-pane"
michael@0 428 class="devtools-sidebar-tabs"
michael@0 429 hidden="true">
michael@0 430 <tabs>
michael@0 431 <tab id="variables-tab" label="&debuggerUI.tabs.variables;"/>
michael@0 432 <tab id="events-tab" label="&debuggerUI.tabs.events;"/>
michael@0 433 </tabs>
michael@0 434 <tabpanels flex="1">
michael@0 435 <tabpanel id="variables-tabpanel">
michael@0 436 <vbox id="expressions"/>
michael@0 437 <splitter class="devtools-horizontal-splitter"/>
michael@0 438 <vbox id="variables" flex="1"/>
michael@0 439 </tabpanel>
michael@0 440 <tabpanel id="events-tabpanel">
michael@0 441 <vbox id="event-listeners" flex="1"/>
michael@0 442 </tabpanel>
michael@0 443 </tabpanels>
michael@0 444 </tabbox>
michael@0 445 <splitter id="vertical-layout-splitter"
michael@0 446 class="devtools-horizontal-splitter"/>
michael@0 447 <hbox id="vertical-layout-panes-container">
michael@0 448 <splitter id="sources-and-instruments-splitter"
michael@0 449 class="devtools-side-splitter"/>
michael@0 450 <!-- The sources-pane and instruments-pane will be moved in this
michael@0 451 container if the toolbox's host requires it. -->
michael@0 452 </hbox>
michael@0 453 </hbox>
michael@0 454 </vbox>
michael@0 455
michael@0 456 <panel id="searchbox-help-panel"
michael@0 457 level="top"
michael@0 458 type="arrow"
michael@0 459 position="before_start"
michael@0 460 noautofocus="true"
michael@0 461 consumeoutsideclicks="false">
michael@0 462 <vbox>
michael@0 463 <hbox>
michael@0 464 <label id="filter-label"/>
michael@0 465 </hbox>
michael@0 466 <label id="searchbox-panel-operators"
michael@0 467 value="&debuggerUI.searchPanelOperators;"/>
michael@0 468 <hbox align="center">
michael@0 469 <button id="global-operator-button"
michael@0 470 class="searchbox-panel-operator-button devtools-monospace"
michael@0 471 command="globalSearchCommand"/>
michael@0 472 <label id="global-operator-label"
michael@0 473 class="plain searchbox-panel-operator-label"/>
michael@0 474 </hbox>
michael@0 475 <hbox align="center">
michael@0 476 <button id="function-operator-button"
michael@0 477 class="searchbox-panel-operator-button devtools-monospace"
michael@0 478 command="functionSearchCommand"/>
michael@0 479 <label id="function-operator-label"
michael@0 480 class="plain searchbox-panel-operator-label"/>
michael@0 481 </hbox>
michael@0 482 <hbox align="center">
michael@0 483 <button id="token-operator-button"
michael@0 484 class="searchbox-panel-operator-button devtools-monospace"
michael@0 485 command="tokenSearchCommand"/>
michael@0 486 <label id="token-operator-label"
michael@0 487 class="plain searchbox-panel-operator-label"/>
michael@0 488 </hbox>
michael@0 489 <hbox align="center">
michael@0 490 <button id="line-operator-button"
michael@0 491 class="searchbox-panel-operator-button devtools-monospace"
michael@0 492 command="lineSearchCommand"/>
michael@0 493 <label id="line-operator-label"
michael@0 494 class="plain searchbox-panel-operator-label"/>
michael@0 495 </hbox>
michael@0 496 <hbox align="center">
michael@0 497 <button id="variable-operator-button"
michael@0 498 class="searchbox-panel-operator-button devtools-monospace"
michael@0 499 command="variableSearchCommand"/>
michael@0 500 <label id="variable-operator-label"
michael@0 501 class="plain searchbox-panel-operator-label"/>
michael@0 502 </hbox>
michael@0 503 </vbox>
michael@0 504 </panel>
michael@0 505
michael@0 506 <panel id="conditional-breakpoint-panel"
michael@0 507 level="top"
michael@0 508 type="arrow"
michael@0 509 noautofocus="true"
michael@0 510 consumeoutsideclicks="false">
michael@0 511 <vbox>
michael@0 512 <label id="conditional-breakpoint-panel-description"
michael@0 513 value="&debuggerUI.condBreakPanelTitle;"/>
michael@0 514 <textbox id="conditional-breakpoint-panel-textbox"/>
michael@0 515 </vbox>
michael@0 516 </panel>
michael@0 517
michael@0 518 </window>

mercurial