gecko/browser/devtools/debugger/debugger.xul

141 lines
5.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- 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 id="fileSearchKey" key="P" modifiers="access shift"
oncommand="DebuggerView.Scripts._onFileSearch()"/>
<key id="lineSearchKey" key="G" modifiers="access shift"
oncommand="DebuggerView.Scripts._onLineSearch()"/>
<key id="tokenSearchKey" key="T" modifiers="access shift"
oncommand="DebuggerView.Scripts._onTokenSearch()"/>
<key id="globalSearchKey" key="F" modifiers="access shift"
oncommand="DebuggerView.Scripts._onGlobalSearch()"/>
</keyset>
<keyset id="threadStateKeys">
<key id="resumeKey" keycode="VK_F6"
oncommand="DebuggerView.StackFrames._onResume()"/>
<key id="stepOverKey" keycode="VK_F7"
oncommand="DebuggerView.StackFrames._onStepOver()"/>
<key id="stepInKey" keycode="VK_F8"
oncommand="DebuggerView.StackFrames._onStepIn()"/>
<key id="stepOutKey" 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
<toolbarbutton id="toggle-panes"
class="devtools-toolbarbutton"
tabindex="0"/>
<hbox id="debugger-controls">
<toolbarbutton id="resume"
class="devtools-toolbarbutton"
type="checkbox"
tabindex="0"/>
<toolbarbutton id="step-over"
class="devtools-toolbarbutton"
tabindex="0"/>
<toolbarbutton id="step-in"
class="devtools-toolbarbutton"
tabindex="0"/>
<toolbarbutton id="step-out"
class="devtools-toolbarbutton"
tabindex="0"/>
</hbox>
<menulist id="scripts" class="devtools-menulist"
sizetopopup="always"/>
<textbox id="scripts-search" type="search"
class="devtools-searchinput"/>
<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>
<panel id="scripts-search-panel"
type="arrow"
noautofocus="true"
position="before_start">
<vbox>
<label class="description" value="&debuggerUI.searchPanelTitle;"/>
<hbox align="center">
<button id="global-operator-button" class="operator"
onclick="DebuggerView.Scripts._onGlobalSearch()"/>
<label id="global-operator-label" class="plain operator"/>
</hbox>
<hbox align="center">
<button id="token-operator-button" class="operator"
onclick="DebuggerView.Scripts._onTokenSearch()"/>
<label id="token-operator-label" class="plain operator"/>
</hbox>
<hbox align="center">
<button id="line-operator-button" class="operator"
onclick="DebuggerView.Scripts._onLineSearch()"/>
<label id="line-operator-label" class="plain operator"/>
</hbox>
</vbox>
</panel>
<vbox id="dbg-content" flex="1">
<vbox id="globalsearch" hidden="true"/>
<splitter id="globalsearch-splitter"
class="devtools-horizontal-splitter" hidden="true"/>
<hbox 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>
</vbox>
</window>