2012-02-07 17:22:30 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-05-21 11:12:37 +00: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/. -->
|
2012-02-07 17:22:30 +00:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/content/debugger.css" type="text/css"?>
|
2012-05-05 09:35:00 +00:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
|
2012-02-07 17:22:30 +00:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/debugger.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/debugger.dtd" >
|
|
|
|
%debuggerDTD;
|
|
|
|
]>
|
2012-03-08 17:37:35 +00:00
|
|
|
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://browser/content/source-editor-overlay.xul"?>
|
2012-04-09 05:15:47 +00:00
|
|
|
|
2012-05-05 09:35:00 +00:00
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
2012-02-07 17:22:30 +00:00
|
|
|
|
2012-05-05 09:35:00 +00:00
|
|
|
<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"/>
|
2012-04-09 05:15:47 +00:00
|
|
|
|
2012-05-05 09:35:00 +00:00
|
|
|
<popupset id="debugger-popups">
|
|
|
|
<menupopup id="sourceEditorContextMenu"
|
2012-05-09 10:22:11 +00:00
|
|
|
onpopupshowing="goUpdateSourceEditorMenuItems()">
|
2012-05-05 09:35:00 +00:00
|
|
|
<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>
|
2012-04-09 05:15:47 +00:00
|
|
|
|
2012-05-05 09:35:00 +00:00
|
|
|
<commandset id="editMenuCommands"/>
|
|
|
|
<commandset id="sourceEditorCommands"/>
|
|
|
|
<keyset id="sourceEditorKeys"/>
|
2012-08-01 20:25:46 +00:00
|
|
|
<keyset id="scriptSearchKeys">
|
|
|
|
<key key="P" modifiers="access shift"
|
|
|
|
oncommand="DebuggerView.Scripts._onSearch()"/>
|
2012-08-18 09:29:47 +00:00
|
|
|
<key key="G" modifiers="access shift"
|
|
|
|
oncommand="DebuggerView.Scripts._onLineSearch()"/>
|
2012-08-01 20:25:46 +00:00
|
|
|
<key key="T" modifiers="access shift"
|
|
|
|
oncommand="DebuggerView.Scripts._onTokenSearch()"/>
|
2012-08-18 09:29:47 +00:00
|
|
|
<key key="F" modifiers="access shift"
|
|
|
|
oncommand="DebuggerView.Scripts._onGlobalSearch()"/>
|
2012-08-01 20:25:46 +00:00
|
|
|
</keyset>
|
2012-08-02 05:31:15 +00:00
|
|
|
<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>
|
2012-04-09 05:15:47 +00:00
|
|
|
|
2012-05-05 09:35:00 +00:00
|
|
|
<vbox id="body" flex="1">
|
|
|
|
<toolbar id="dbg-toolbar" class="devtools-toolbar">
|
|
|
|
#ifdef XP_MACOSX
|
2012-05-25 06:46:09 +00:00
|
|
|
<toolbarbutton id="close"
|
|
|
|
tooltiptext="&debuggerUI.closeButton.tooltip;"
|
|
|
|
class="devtools-closebutton"/>
|
2012-05-05 09:35:00 +00:00
|
|
|
#endif
|
2012-07-20 08:56:46 +00:00
|
|
|
<toolbarbutton id="toggle-panes"
|
|
|
|
class="devtools-toolbarbutton"
|
|
|
|
tabindex="0"/>
|
2012-05-25 06:46:09 +00:00
|
|
|
<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>
|
2012-04-24 15:42:00 +00:00
|
|
|
<menulist id="scripts" class="devtools-menulist"
|
2012-07-18 13:13:15 +00:00
|
|
|
sizetopopup="always"
|
2012-04-24 15:42:00 +00:00
|
|
|
label="&debuggerUI.emptyScriptText;"/>
|
2012-05-05 09:35:00 +00:00
|
|
|
<textbox id="scripts-search" type="search"
|
2012-05-09 13:50:33 +00:00
|
|
|
class="devtools-searchinput"
|
2012-05-05 09:35:00 +00:00
|
|
|
emptytext="&debuggerUI.emptyFilterText;"/>
|
2012-06-03 13:39:51 +00:00
|
|
|
<checkbox id="pause-exceptions"
|
|
|
|
type="checkbox"
|
|
|
|
tabindex="0"
|
|
|
|
label="&debuggerUI.pauseExceptions;"/>
|
2012-05-05 09:35:00 +00:00
|
|
|
<spacer flex="1"/>
|
|
|
|
#ifndef XP_MACOSX
|
2012-05-25 06:46:09 +00:00
|
|
|
<toolbarbutton id="close"
|
|
|
|
tooltiptext="&debuggerUI.closeButton.tooltip;"
|
|
|
|
class="devtools-closebutton"/>
|
2012-05-05 09:35:00 +00:00
|
|
|
#endif
|
|
|
|
</toolbar>
|
2012-08-18 09:29:47 +00:00
|
|
|
<vbox id="dbg-content" flex="1">
|
|
|
|
<vbox id="globalsearch" hidden="true" flex="1"/>
|
|
|
|
<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>
|
2012-05-05 09:35:00 +00:00
|
|
|
</vbox>
|
|
|
|
</window>
|