Lines Matching refs:options

57 def print_threads(process, options):  argument
58 if options.show_threads:
71 if options.stop_on_error:
226 (options, args) = parser.parse_args(argv)
236 if options.env_vars:
237 launch_info.SetEnvironmentEntries(options.env_vars, True)
238 if options.working_dir:
239 launch_info.SetWorkingDirectory(options.working_dir)
240 elif options.attach_pid != -1:
241 if options.run_count == 1:
242 attach_info = lldb.SBAttachInfo(options.attach_pid)
246 elif not options.attach_name is None:
247 if options.run_count == 1:
249 options.attach_name, options.attach_wait)
267 exe, options.arch, options.platform, True, error)
274 if launch_info and options.breakpoints:
275 for bp in options.breakpoints:
279 for run_idx in range(options.run_count):
285 if options.run_count == 1:
288 … print('Launching "%s"... (launch %u of %u)' % (exe, run_idx + 1, options.run_count))
292 if options.attach_pid != -1:
293 print('Attaching to process %i...' % (options.attach_pid))
295 if options.attach_wait:
296 … print('Waiting for next to process named "%s" to launch...' % (options.attach_name))
298 print('Attaching to existing process named "%s"...' % (options.attach_name))
317 if listener.WaitForEvent(options.event_timeout, event):
335 if options.breakpoints:
336 for bp in options.breakpoints:
342 command_interpreter, options.launch_commands)
344 if options.verbose:
347 command_interpreter, options.stop_commands)
349 print_threads(process, options)
359 command_interpreter, options.exit_commands)
363 print_threads(process, options)
365 command_interpreter, options.crash_commands)
374 if options.verbose:
389 … print("no process event for %u seconds, killing the process..." % (options.event_timeout))