1425bb815Sopenharmony_ciConnecting to: localhost:5001 2425bb815Sopenharmony_ciStopped at tests/debugger/do_display.js:20 3425bb815Sopenharmony_ci(jerry-debugger) b a 4425bb815Sopenharmony_ciBreakpoint 1 at tests/debugger/do_display.js:15 (in a() at line:15, col:1) 5425bb815Sopenharmony_ci(jerry-debugger) b b 6425bb815Sopenharmony_ciBreakpoint 2 at tests/debugger/do_display.js:16 (in b() at line:16, col:1) 7425bb815Sopenharmony_ci(jerry-debugger) b c 8425bb815Sopenharmony_ciBreakpoint 3 at tests/debugger/do_display.js:17 (in c() at line:17, col:1) 9425bb815Sopenharmony_ci(jerry-debugger) b d 10425bb815Sopenharmony_ciBreakpoint 4 at tests/debugger/do_display.js:18 (in d() at line:18, col:1) 11425bb815Sopenharmony_ci(jerry-debugger) display 12425bb815Sopenharmony_ciNon-negative integer number expected, 0 turns off this function 13425bb815Sopenharmony_ci(jerry-debugger) c 14425bb815Sopenharmony_ciStopped at breakpoint:1 tests/debugger/do_display.js:15 (in a() at line:15, col:1) 15425bb815Sopenharmony_ci(jerry-debugger) display 2 16425bb815Sopenharmony_ci(jerry-debugger) c 17425bb815Sopenharmony_ciout: hi 18425bb815Sopenharmony_ciStopped at breakpoint:2 tests/debugger/do_display.js:16 (in b() at line:16, col:1) 19425bb815Sopenharmony_ciSource: tests/debugger/do_display.js 20425bb815Sopenharmony_ci 15 function a() { print("hi"); } 21425bb815Sopenharmony_ci 16 > function b() { print("welcome"); } 22425bb815Sopenharmony_ci 17 function c() { print("hello"); } 23425bb815Sopenharmony_ci(jerry-debugger) display 5435 24425bb815Sopenharmony_ci(jerry-debugger) c 25425bb815Sopenharmony_ciout: welcome 26425bb815Sopenharmony_ciStopped at breakpoint:3 tests/debugger/do_display.js:17 (in c() at line:17, col:1) 27425bb815Sopenharmony_ciSource: tests/debugger/do_display.js 28425bb815Sopenharmony_ci 1 // Copyright JS Foundation and other contributors, http://js.foundation 29425bb815Sopenharmony_ci 2 // 30425bb815Sopenharmony_ci 3 // Licensed under the Apache License, Version 2.0 (the "License"); 31425bb815Sopenharmony_ci 4 // you may not use this file except in compliance with the License. 32425bb815Sopenharmony_ci 5 // You may obtain a copy of the License at 33425bb815Sopenharmony_ci 6 // 34425bb815Sopenharmony_ci 7 // http://www.apache.org/licenses/LICENSE-2.0 35425bb815Sopenharmony_ci 8 // 36425bb815Sopenharmony_ci 9 // Unless required by applicable law or agreed to in writing, software 37425bb815Sopenharmony_ci 10 // distributed under the License is distributed on an "AS IS" BASIS 38425bb815Sopenharmony_ci 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 39425bb815Sopenharmony_ci 12 // See the License for the specific language governing permissions and 40425bb815Sopenharmony_ci 13 // limitations under the License. 41425bb815Sopenharmony_ci 14 42425bb815Sopenharmony_ci 15 function a() { print("hi"); } 43425bb815Sopenharmony_ci 16 function b() { print("welcome"); } 44425bb815Sopenharmony_ci 17 > function c() { print("hello"); } 45425bb815Sopenharmony_ci 18 function d() { print("goodbye"); } 46425bb815Sopenharmony_ci 19 47425bb815Sopenharmony_ci 20 a(); 48425bb815Sopenharmony_ci 21 b(); 49425bb815Sopenharmony_ci 22 c(); 50425bb815Sopenharmony_ci 23 d(); 51425bb815Sopenharmony_ci(jerry-debugger) display 0 52425bb815Sopenharmony_ci(jerry-debugger) c 53425bb815Sopenharmony_ciout: hello 54425bb815Sopenharmony_ciStopped at breakpoint:4 tests/debugger/do_display.js:18 (in d() at line:18, col:1) 55425bb815Sopenharmony_ci(jerry-debugger) c 56425bb815Sopenharmony_ciout: goodbye 57