set-breakpoint-expected.txt 792 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Check different set breakpoint cases.
Set breakpoint at function g..
Breakpoint set at:
  // Comment.
  #f();
}

Call g..
Breakpoint hit at:
  // Comment.
  #f();
}

hitBreakpoints contains breakpoint: true

Set breakpoint at function f when we on pause..
Breakpoint set at:
function f() {
  #a=1;
};

Resume..
Breakpoint hit at:
function f() {
  #a=1;
};

hitBreakpoints contains breakpoint: true

Set breakpoint by url at sourceUrlFunc..
Breakpoint set at:
function sourceUrlFunc() { #a = 2; }

Call sourceUrlFunc..
Breakpoint hit at:
function sourceUrlFunc() { #a = 2; }

hitBreakpoints contains breakpoint: true

Set breakpoint at empty line by url in top level function..
Breakpoint resolved at:
// last line#

Breakpoint hit at:
// last line#

hitBreakpoints contains breakpoint: true