JerryDebugger breakpoint system rework (#1908)

Reworking the python JerryDebugger breakpoint system.

JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
This commit is contained in:
Daniel Balla
2017-07-13 10:26:14 +02:00
committed by Zoltan Herczeg
parent 89015a6119
commit dbfb0170c1
13 changed files with 159 additions and 138 deletions
@@ -1,15 +1,16 @@
Connecting to: localhost:5001
Stopped at tests/debugger/do_pending_breakpoints.js:15
(jerry-debugger) fbreak f
Breakpoint not found
Pending breakpoint added
(jerry-debugger) list pending
0: f
(jerry-debugger) break f
No breakpoint found, do you want to add a pending breakpoint? (y or [n])
Pending breakpoint at f()
(jerry-debugger) list
=== Pending breakpoints ===
1: f() (pending)
(jerry-debugger) n
Stopped at tests/debugger/do_pending_breakpoints.js:17
(jerry-debugger) n
Breakpoint 1 at <unknown>:1 (in f() at line:1, col:1)
Breakpoint 2 at <unknown>:1 (in f() at line:1, col:1)
Stopped at tests/debugger/do_pending_breakpoints.js:19
(jerry-debugger) c
Stopped at breakpoint:1 <unknown>:1 (in f() at line:1, col:1)
Stopped at breakpoint:2 <unknown>:1 (in f() at line:1, col:1)
(jerry-debugger) c