1 Tests breakpoints are correctly dimmed and restored in JavaScriptSourceFrame during live edit.
7 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
8 TextEditor.removeBreakpoint(lineNumber = 2)
9 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
10 Dumping breakpoint storage
11 edit-me-breakpoints.js:2, enabled:true
12 Dumping breakpoint locations
13 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
15 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
17 TextEditor.removeBreakpoint(lineNumber = 2)
18 TextEditor.addBreakpoint(lineNumber = 2, disabled = true)
19 OriginalTextEditor.addBreakpoint(lineNumber = 2, disabled = false)
20 Dumping breakpoint storage
21 edit-me-breakpoints.js:2, enabled:true
22 Dumping breakpoint locations
23 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
25 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
26 Undoing source editing:
27 OriginalTextEditor.removeBreakpoint(lineNumber = 2)
28 TextEditor.removeBreakpoint(lineNumber = 2)
29 TextEditor.removeBreakpoint(lineNumber = 2)
30 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
31 TextEditor.removeBreakpoint(lineNumber = 2)
32 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
33 Dumping breakpoint storage
34 edit-me-breakpoints.js:2, enabled:true
35 Dumping breakpoint locations
36 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
38 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
39 Finally removing breakpoint:
40 TextEditor.removeBreakpoint(lineNumber = 2)
41 Dumping breakpoint storage
42 Dumping breakpoint locations
45 Running: testEditCommit
47 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
48 TextEditor.removeBreakpoint(lineNumber = 2)
49 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
50 Dumping breakpoint storage
51 edit-me-breakpoints.js:2, enabled:true
52 Dumping breakpoint locations
53 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
55 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
57 OriginalTextEditor.addBreakpoint(lineNumber = 2, disabled = false)
58 TextEditor.removeBreakpoint(lineNumber = 2)
59 TextEditor.addBreakpoint(lineNumber = 2, disabled = true)
60 Dumping breakpoint storage
61 edit-me-breakpoints.js:2, enabled:true
62 Dumping breakpoint locations
63 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
65 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
66 Committing edited source:
67 OriginalTextEditor.removeBreakpoint(lineNumber = 2)
68 TextEditor.removeBreakpoint(lineNumber = 2)
69 TextEditor.removeBreakpoint(lineNumber = 2)
70 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
71 TextEditor.removeBreakpoint(lineNumber = 2)
72 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
73 Dumping breakpoint storage
74 edit-me-breakpoints.js:2, enabled:true
75 Dumping breakpoint locations
76 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
78 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
79 Finally removing breakpoint:
80 TextEditor.removeBreakpoint(lineNumber = 2)
81 Dumping breakpoint storage
82 Dumping breakpoint locations
85 Running: testEditCommitFailEditCommit
87 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
88 TextEditor.removeBreakpoint(lineNumber = 2)
89 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
90 Dumping breakpoint storage
91 edit-me-breakpoints.js:2, enabled:true
92 Dumping breakpoint locations
93 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
95 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
97 OriginalTextEditor.addBreakpoint(lineNumber = 2, disabled = false)
98 TextEditor.removeBreakpoint(lineNumber = 2)
99 TextEditor.addBreakpoint(lineNumber = 2, disabled = true)
100 Dumping breakpoint storage
101 edit-me-breakpoints.js:2, enabled:true
102 Dumping breakpoint locations
103 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
105 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
106 Committing edited source:
107 Dumping breakpoint storage
108 edit-me-breakpoints.js:2, enabled:true
109 Dumping breakpoint locations
110 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
112 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
113 Editing source again so that live edit could succeed:
114 Dumping breakpoint storage
115 edit-me-breakpoints.js:2, enabled:true
116 Dumping breakpoint locations
117 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
119 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
120 Committing edited source again:
121 OriginalTextEditor.removeBreakpoint(lineNumber = 2)
122 TextEditor.removeBreakpoint(lineNumber = 2)
123 TextEditor.removeBreakpoint(lineNumber = 2)
124 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
125 TextEditor.removeBreakpoint(lineNumber = 2)
126 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
127 Dumping breakpoint storage
128 edit-me-breakpoints.js:2, enabled:true
129 Dumping breakpoint locations
130 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
132 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
133 Finally removing breakpoint:
134 TextEditor.removeBreakpoint(lineNumber = 2)
135 Dumping breakpoint storage
136 Dumping breakpoint locations
139 Running: testEditCommitFailUndoCommit
141 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
142 TextEditor.removeBreakpoint(lineNumber = 2)
143 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
144 Dumping breakpoint storage
145 edit-me-breakpoints.js:2, enabled:true
146 Dumping breakpoint locations
147 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
149 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
151 OriginalTextEditor.addBreakpoint(lineNumber = 2, disabled = false)
152 TextEditor.removeBreakpoint(lineNumber = 2)
153 TextEditor.addBreakpoint(lineNumber = 2, disabled = true)
154 Dumping breakpoint storage
155 edit-me-breakpoints.js:2, enabled:true
156 Dumping breakpoint locations
157 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
159 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
160 Committing edited source:
161 Dumping breakpoint storage
162 edit-me-breakpoints.js:2, enabled:true
163 Dumping breakpoint locations
164 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
166 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
167 Undoing source editing:
168 Dumping breakpoint storage
169 edit-me-breakpoints.js:2, enabled:true
170 Dumping breakpoint locations
171 url: edit-me-breakpoints.js, lineNumber: 2, project type: debugger, project id: debugger:1
173 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
174 Committing edited source again:
175 OriginalTextEditor.removeBreakpoint(lineNumber = 2)
176 TextEditor.removeBreakpoint(lineNumber = 2)
177 TextEditor.removeBreakpoint(lineNumber = 2)
178 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
179 TextEditor.removeBreakpoint(lineNumber = 2)
180 TextEditor.addBreakpoint(lineNumber = 2, disabled = false)
181 Dumping breakpoint storage
182 edit-me-breakpoints.js:2, enabled:true
183 Dumping breakpoint locations
184 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
186 url: edit-me-breakpoints.js, lineNumber: 2, project type: network, project id: 1:file://
187 Finally removing breakpoint:
188 TextEditor.removeBreakpoint(lineNumber = 2)
189 Dumping breakpoint storage
190 Dumping breakpoint locations