1Connecting to: localhost:5001 2Stopped at tests/debugger/do_display.js:20 3(jerry-debugger) b a 4Breakpoint 1 at tests/debugger/do_display.js:15 (in a() at line:15, col:1) 5(jerry-debugger) b b 6Breakpoint 2 at tests/debugger/do_display.js:16 (in b() at line:16, col:1) 7(jerry-debugger) b c 8Breakpoint 3 at tests/debugger/do_display.js:17 (in c() at line:17, col:1) 9(jerry-debugger) b d 10Breakpoint 4 at tests/debugger/do_display.js:18 (in d() at line:18, col:1) 11(jerry-debugger) display 12Non-negative integer number expected, 0 turns off this function 13(jerry-debugger) c 14Stopped at breakpoint:1 tests/debugger/do_display.js:15 (in a() at line:15, col:1) 15(jerry-debugger) display 2 16(jerry-debugger) c 17out: hi 18Stopped at breakpoint:2 tests/debugger/do_display.js:16 (in b() at line:16, col:1) 19Source: tests/debugger/do_display.js 20 15 function a() { print("hi"); } 21 16 > function b() { print("welcome"); } 22 17 function c() { print("hello"); } 23(jerry-debugger) display 5435 24(jerry-debugger) c 25out: welcome 26Stopped at breakpoint:3 tests/debugger/do_display.js:17 (in c() at line:17, col:1) 27Source: tests/debugger/do_display.js 28 1 // Copyright JS Foundation and other contributors, http://js.foundation 29 2 // 30 3 // Licensed under the Apache License, Version 2.0 (the "License"); 31 4 // you may not use this file except in compliance with the License. 32 5 // You may obtain a copy of the License at 33 6 // 34 7 // http://www.apache.org/licenses/LICENSE-2.0 35 8 // 36 9 // Unless required by applicable law or agreed to in writing, software 37 10 // distributed under the License is distributed on an "AS IS" BASIS 38 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 39 12 // See the License for the specific language governing permissions and 40 13 // limitations under the License. 41 14 42 15 function a() { print("hi"); } 43 16 function b() { print("welcome"); } 44 17 > function c() { print("hello"); } 45 18 function d() { print("goodbye"); } 46 19 47 20 a(); 48 21 b(); 49 22 c(); 50 23 d(); 51(jerry-debugger) display 0 52(jerry-debugger) c 53out: hello 54Stopped at breakpoint:4 tests/debugger/do_display.js:18 (in d() at line:18, col:1) 55(jerry-debugger) c 56out: goodbye 57