Lines Matching refs:options
59 def print_threads(process, options): argument
60 if options.show_threads:
73 if options.stop_on_error:
228 (options, args) = parser.parse_args(argv)
238 if options.env_vars:
239 launch_info.SetEnvironmentEntries(options.env_vars, True)
240 if options.working_dir:
241 launch_info.SetWorkingDirectory(options.working_dir)
242 elif options.attach_pid != -1:
243 if options.run_count == 1:
244 attach_info = lldb.SBAttachInfo(options.attach_pid)
248 elif not options.attach_name is None:
249 if options.run_count == 1:
251 options.attach_name, options.attach_wait)
269 exe, options.arch, options.platform, True, error)
276 if launch_info and options.breakpoints:
277 for bp in options.breakpoints:
281 for run_idx in range(options.run_count):
287 if options.run_count == 1:
290 … print('Launching "%s"... (launch %u of %u)' % (exe, run_idx + 1, options.run_count))
294 if options.attach_pid != -1:
295 print('Attaching to process %i...' % (options.attach_pid))
297 if options.attach_wait:
298 … print('Waiting for next to process named "%s" to launch...' % (options.attach_name))
300 print('Attaching to existing process named "%s"...' % (options.attach_name))
319 if listener.WaitForEvent(options.event_timeout, event):
337 if options.breakpoints:
338 for bp in options.breakpoints:
344 command_interpreter, options.launch_commands)
346 if options.verbose:
349 command_interpreter, options.stop_commands)
351 print_threads(process, options)
361 command_interpreter, options.exit_commands)
365 print_threads(process, options)
367 command_interpreter, options.crash_commands)
376 if options.verbose:
391 … print("no process event for %u seconds, killing the process..." % (options.event_timeout))