5
- The contents of this file are subject to the Mozilla Public License
6
- Version 1.1 (the "License"); you may not use this file except in
7
- compliance with the License. You may obtain a copy of the License at
8
- http://www.mozilla.org/MPL/
10
- Software distributed under the License is distributed on an "AS IS" basis,
11
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
- for the specific language governing rights and limitations under the
15
- The Original Code is The JavaScript Debugger
17
- The Initial Developer of the Original Code is
18
- Netscape Communications Corporation
19
- Portions created by Netscape are
20
- Copyright (C) 1998 Netscape Communications Corporation.
21
- All Rights Reserved.
23
- Alternatively, the contents of this file may be used under the
24
- terms of the GNU Public License (the "GPL"), in which case the
25
- provisions of the GPL are applicable instead of those above.
26
- If you wish to allow use of your version of this file only
27
- under the terms of the GPL and not to allow others to use your
28
- version of this file under the MPL, indicate your decision by
29
- deleting the provisions above and replace them with the notice
30
- and other provisions required by the GPL. If you do not delete
31
- the provisions above, a recipient may use your version of this
32
- file under either the MPL or the GPL.
35
- Robert Ginda, <rginda@netscape.com>, original author
39
<!DOCTYPE window SYSTEM "chrome://venkman/locale/venkman.dtd">
41
<?xml-stylesheet href="chrome://venkman/skin/venkman.css" type="text/css"?>
43
<window id="venkman-window"
44
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
45
onload="onLoad();" onunload="onUnload();"
46
width="500" height="480"
47
persist="width height screenX screenY"
48
windowtype="mozapp:venkman:bp-props">
53
<script src="chrome://venkman/content/venkman-utils.js"/>
54
<script src="chrome://venkman/content/venkman-bpprops.js"/>
57
<label value="&BPProps.URL.label;" minwidth="50px"/>
58
<textbox flex="1" readonly="true" id="url-textbox"/>
59
<label value="&BPProps.Line.label;" minwidth="25px"/>
60
<textbox readonly="true" id="line-textbox" width="50px"/>
63
<label value="&BPProps.FunctionName.label;" minwidth="50px"/>
64
<textbox flex="1" readonly="true" id="function-textbox" width="50px"/>
65
<label value="&BPProps.PC.label;" minwidth="25px"/>
66
<textbox readonly="true" id="pc-textbox" width="50px"/>
70
<checkbox id="enabled-checkbox" label="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
71
oncommand="makeDirty()" flex="1"/>
72
<checkbox id="onetime-checkbox" label="&BPProps.OneTime.label;"
73
oncommand="makeDirty()" flex="1"/>
74
<label value="&BPProps.TriggerCount.label;"/>
75
<textbox id="trigger-textbox" width="50px"
76
oninput="makeDirty()"/>
82
<checkbox flex="1" id="condition-checkbox"
83
oncommand="updateConditionGroup(); makeDirty()"
84
label="&BPProps.ConditionalCheck.label;"/>
87
<textbox readonly="true"
88
value="function __trigger__(__count__) {"/>
89
<textbox flex="1" multiline="true" id="condition-textbox"
90
oninput="makeDirty()" onkeypress="onConditionKeyPress(event)"/>
91
<textbox readonly="true" value="}"/>
93
<label value="&BPProps.Then.label;"/>
94
<radiogroup id="result-radio" >
95
<radio style="margin-left: 20px;" label="&BPProps.NeverStopRadio.label;"
96
oncommand="makeDirty()"/>
97
<radio style="margin-left: 20px;" label="&BPProps.AlwaysStopRadio.label;"
98
oncommand="makeDirty()"/>
99
<radio style="margin-left: 20px;"
100
label="&BPProps.ConditionalBreakRadio.label;"
101
oncommand="makeDirty()"/>
102
<radio style="margin-left: 20px;"
103
label="&BPProps.EarlyReturnRadio.label;"
104
oncommand="makeDirty()"/>
108
<checkbox id="exception-checkbox"
109
label="&BPProps.PassExceptionsCheck.label;"
110
oncommand="makeDirty()"/>
111
<checkbox id="log-checkbox"
112
label="&BPProps.LogResultCheck.label;"
113
oncommand="makeDirty()"/>
119
<button id="apply-button" label="&BPProps.Apply.label;"
120
oncommand="copyToBreakpoint();"/>
121
<button id="revert-button" label="&BPProps.Revert.label;"
122
oncommand="populateFromBreakpoint();"/>
123
<button id="close-button" label="&BPProps.Close.label;"
124
oncommand="close();"/>