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