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:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user