mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
* fix debugger to add breakpoint at the first line * fix debugger not to insert any breakpoint when compiling dynamic code * add some assertion code to detect undesirable cases Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
22 lines
800 B
Text
22 lines
800 B
Text
Connecting to: localhost:6501
|
|
Connection created!!!
|
|
Stopped at tools/debugger/tests/do_eval.js:1
|
|
(escargot-debugger) b do_eval.js:7
|
|
Breakpoint 1 at tools/debugger/tests/do_eval.js:7
|
|
(escargot-debugger) c
|
|
Stopped at breakpoint:1 tools/debugger/tests/do_eval.js:7
|
|
(escargot-debugger) eval a
|
|
42(escargot-debugger) e b
|
|
Alma(escargot-debugger) e c
|
|
undefined(escargot-debugger) e d
|
|
function(){ return 1; }(escargot-debugger) e e
|
|
[object Object](escargot-debugger) print a
|
|
42(escargot-debugger) p b
|
|
Alma(escargot-debugger) p c
|
|
undefined(escargot-debugger) p d
|
|
function(){ return 1; }(escargot-debugger) p e
|
|
[object Object](escargot-debugger) e k
|
|
Exception: ReferenceError: k is not defined(escargot-debugger) p k
|
|
Exception: ReferenceError: k is not defined(escargot-debugger) c
|
|
Print: 42
|
|
Connection closed.
|