Fix some style issues in the python debugger client. (#3603)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2020-03-11 16:01:12 +01:00
committed by GitHub
parent 055f753d02
commit 57b8599581
3 changed files with 19 additions and 18 deletions
+3 -1
View File
@@ -133,6 +133,8 @@ class DebuggerPrompt(Cmd):
line_num = src_check_args(args)
if line_num >= 0:
write(self.debugger.print_source(line_num, 0))
else:
write(self.debugger.print_source(0, 0))
do_source = do_src
def do_scroll(self, _):
@@ -150,7 +152,7 @@ class DebuggerPrompt(Cmd):
def do_continue(self, _):
""" Continue execution """
self.debugger.get_continue()
self.debugger.do_continue()
self.stop = True
if not self.debugger.non_interactive:
print("Press enter to stop JavaScript execution.")