2017-07-28 18:48:22 +00:00
|
|
|
Tests Debugger.setScriptSource
|
|
|
|
|
|
|
|
Running test: addLineAfter
|
2018-04-11 06:03:52 +00:00
|
|
|
var x = a;
|
2017-07-28 18:48:22 +00:00
|
|
|
#debugger;
|
2018-04-11 06:03:52 +00:00
|
|
|
return x + b;
|
2017-07-28 18:48:22 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
Break location after LiveEdit:
|
2018-04-11 06:03:52 +00:00
|
|
|
var x = a;
|
2017-07-28 18:48:22 +00:00
|
|
|
#debugger;
|
|
|
|
var x = 3;
|
|
|
|
|
|
|
|
stackChanged: true
|
|
|
|
Protocol.Debugger.stepInto
|
2018-04-11 06:03:52 +00:00
|
|
|
function foo(a,b,c) {
|
|
|
|
var x = #a;
|
2017-07-28 18:48:22 +00:00
|
|
|
debugger;
|
|
|
|
|
|
|
|
|
|
|
|
Running test: addLineBefore
|
2018-04-11 06:03:52 +00:00
|
|
|
var x = a;
|
2017-07-28 18:48:22 +00:00
|
|
|
#debugger;
|
2018-04-11 06:03:52 +00:00
|
|
|
return x + b;
|
2017-07-28 18:48:22 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
Break location after LiveEdit:
|
2018-04-11 06:03:52 +00:00
|
|
|
var x = a;
|
2018-11-02 08:17:34 +00:00
|
|
|
var x = #3;
|
2017-07-28 18:48:22 +00:00
|
|
|
debugger;
|
|
|
|
|
|
|
|
stackChanged: true
|
|
|
|
Protocol.Debugger.stepInto
|
2018-04-11 06:03:52 +00:00
|
|
|
function foo(a,b,c) {
|
|
|
|
var x = #a;
|
2017-07-28 18:48:22 +00:00
|
|
|
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() {
|
2018-11-02 08:17:34 +00:00
|
|
|
var x = #3;
|
2017-07-28 18:48:22 +00:00
|
|
|
debugger;
|
|
|
|
|
|
|
|
stackChanged: true
|
|
|
|
Protocol.Debugger.stepInto
|
2018-11-02 08:17:34 +00:00
|
|
|
var x = 3;
|
|
|
|
#debugger;
|
|
|
|
var x = 1;
|
2017-07-28 18:48:22 +00:00
|
|
|
|