set-script-source-2-expected.txt 968 Bytes
Newer Older
1 2 3
Tests Debugger.setScriptSource

Running test: addLineAfter
4
var x = a;
5
#debugger;
6
return x + b;
7 8 9

---
Break location after LiveEdit:
10
var x = a;
11 12 13 14 15
#debugger;
var x = 3;

stackChanged: true
Protocol.Debugger.stepInto
16 17
function foo(a,b,c) {
var x = #a;
18 19 20 21
debugger;


Running test: addLineBefore
22
var x = a;
23
#debugger;
24
return x + b;
25 26 27

---
Break location after LiveEdit:
28
var x = a;
29 30 31 32 33
var x = #3;
debugger;

stackChanged: true
Protocol.Debugger.stepInto
34 35
function foo(a,b,c) {
var x = #a;
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
var x = 3;


Running test: breakAtFirstLineAddLineAfter
function boo() {
#debugger;
var x = 1;

---
Break location after LiveEdit:
function boo() {
#debugger;
var x = 3;

stackChanged: true
Protocol.Debugger.stepInto
function boo() {
#debugger;
var x = 3;


Running test: breakAtFirstLineAddLineBefore
function boo() {
#debugger;
var x = 1;

---
Break location after LiveEdit:
function boo() {
var x = #3;
debugger;

stackChanged: true
Protocol.Debugger.stepInto
var x = 3;
#debugger;
var x = 1;