gecko/browser/devtools/debugger/debugger.xul

111 lines
4.4 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2012-05-21 04:12:37 -07:00
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/debugger.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/debugger.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/debugger.dtd" >
%debuggerDTD;
]>
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
<?xul-overlay href="chrome://browser/content/source-editor-overlay.xul"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="text/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="text/javascript" src="debugger-controller.js"/>
<script type="text/javascript" src="debugger-view.js"/>
<popupset id="debugger-popups">
<menupopup id="sourceEditorContextMenu"
onpopupshowing="goUpdateSourceEditorMenuItems()">
<menuitem id="se-cMenu-copy"/>
<menuseparator/>
<menuitem id="se-cMenu-selectAll"/>
<menuseparator/>
<menuitem id="se-cMenu-find"/>
<menuitem id="se-cMenu-findAgain"/>
<menuseparator/>
<menuitem id="se-cMenu-gotoLine"/>
</menupopup>
</popupset>
<commandset id="editMenuCommands"/>
<commandset id="sourceEditorCommands"/>
<keyset id="sourceEditorKeys"/>
<keyset id="scriptSearchKeys">
<key key="P" modifiers="access shift"
oncommand="DebuggerView.Scripts._onSearch()"/>
<key key="T" modifiers="access shift"
oncommand="DebuggerView.Scripts._onTokenSearch()"/>
</keyset>
<keyset id="threadStateKeys">
<key keycode="VK_F6"
oncommand="DebuggerView.StackFrames._onResume()"/>
<key keycode="VK_F7"
oncommand="DebuggerView.StackFrames._onStepOver()"/>
<key keycode="VK_F8"
oncommand="DebuggerView.StackFrames._onStepIn()"/>
<key keycode="VK_F8" modifiers="shift"
oncommand="DebuggerView.StackFrames._onStepOut()"/>
</keyset>
<vbox id="body" flex="1">
<toolbar id="dbg-toolbar" class="devtools-toolbar">
#ifdef XP_MACOSX
<toolbarbutton id="close"
tooltiptext="&debuggerUI.closeButton.tooltip;"
class="devtools-closebutton"/>
#endif
<hbox id="debugger-controls">
<toolbarbutton id="resume"
class="devtools-toolbarbutton"
type="checkbox"
tabindex="0"/>
<toolbarbutton id="step-over"
class="devtools-toolbarbutton"
tooltiptext="&debuggerUI.stepOverButton.tooltip;"
tabindex="0"/>
<toolbarbutton id="step-in"
class="devtools-toolbarbutton"
tooltiptext="&debuggerUI.stepInButton.tooltip;"
tabindex="0"/>
<toolbarbutton id="step-out"
class="devtools-toolbarbutton"
tooltiptext="&debuggerUI.stepOutButton.tooltip;"
tabindex="0"/>
</hbox>
<menulist id="scripts" class="devtools-menulist"
sizetopopup="always"
label="&debuggerUI.emptyScriptText;"/>
<textbox id="scripts-search" type="search"
class="devtools-searchinput"
emptytext="&debuggerUI.emptyFilterText;"/>
<checkbox id="pause-exceptions"
type="checkbox"
tabindex="0"
label="&debuggerUI.pauseExceptions;"/>
<spacer flex="1"/>
#ifndef XP_MACOSX
<toolbarbutton id="close"
tooltiptext="&debuggerUI.closeButton.tooltip;"
class="devtools-closebutton"/>
#endif
</toolbar>
<hbox id="dbg-content" flex="1">
<vbox id="stackframes+breakpoints">
<vbox id="stackframes" flex="1"/>
<splitter class="devtools-horizontal-splitter"/>
<vbox id="breakpoints"/>
</vbox>
<splitter class="devtools-side-splitter"/>
<vbox id="editor" flex="1"/>
<splitter class="devtools-side-splitter"/>
<vbox id="variables"/>
</hbox>
</vbox>
</window>