Python debugger source & display command (#1850)

Reworked source(src) command to display a given range of the code, defaults to 3.

Added display command which does the same as the source, except it displays the source code everytime a breakpoint is hit.

Made tests for display, extended tests for src.

JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
This commit is contained in:
Daniel Balla
2017-05-30 10:58:34 +02:00
committed by Zoltan Herczeg
parent ae60ff0aa3
commit 712d5ca8b7
7 changed files with 160 additions and 15 deletions
+13
View File
@@ -0,0 +1,13 @@
b a
b b
b c
b d
display
c
display 2
c
display 5435
c
display 0
c
c