Lines Matching refs:args
57 def do_display(self, args):
59 if args:
60 line_num = src_check_args(args)
66 def do_break(self, args):
68 write(self.debugger.set_break(args))
75 def do_delete(self, args):
77 write(self.debugger.delete(args))
79 def do_exception(self, args):
81 write(self.debugger.exception(args))
83 def do_next(self, args):
86 if not args:
87 args = 0
92 args = int(args)
93 if args <= 0:
94 raise ValueError(args)
96 while args > 0:
112 args -= 1
137 def do_backtrace(self, args):
139 write(self.debugger.backtrace(args))
143 def do_src(self, args):
145 if args:
146 line_num = src_check_args(args)
166 def do_eval(self, args):
168 self.debugger.eval(args)
172 def do_eval_at(self, args):
178 args = args.split(" ", 1)
180 index = int(args[0])
182 if len(args) == 2:
183 code = args[1]
195 def do_throw(self, args):
197 self.debugger.throw(args)
200 def do_abort(self, args):
202 self.debugger.abort(args)
216 def do_variables(self, args):
218 write(self.debugger.scope_variables(args))
227 def do_dump(self, args):
229 if args:
251 def src_check_args(args):
253 line_num = int(args)
265 args = jerry_client_main.arguments_parse()
270 if args.protocol == "tcp":
272 if ":" not in args.address:
273 address = (args.address, 5001) # use default port
275 host, port = args.address.split(":")
279 elif args.protocol == "serial":
281 protocol = Serial(args.serial_config)
286 if args.channel == "websocket":
288 elif args.channel == "rawpacket":
295 debugger.non_interactive = args.non_interactive
302 if args.color:
305 if args.display:
306 debugger.display = args.display
307 prompt.do_display(args.display)
311 if args.exception is not None:
312 prompt.do_exception(str(args.exception))
314 if args.client_source:
315 debugger.store_client_sources(args.client_source)