Flutter Engine
The Flutter Engine
Functions | Variables
ios_debug_cmd Namespace Reference

Functions

def collect_log ()
 

Variables

 bundle_id = sys.argv[1]
 
 args = sys.argv[2:]
 
 logp = subprocess.Popen(['idevicesyslog'], stdout=subprocess.PIPE, bufsize=-1)
 
string log = ''
 
 logt = threading.Thread(target=collect_log)
 
 rv = subprocess.call(['idevicedebug', '--debug', 'run', bundle_id] + args)
 

Function Documentation

◆ collect_log()

def ios_debug_cmd.collect_log ( )

Definition at line 22 of file ios_debug_cmd.py.

22def collect_log():
23 global log
24 while True:
25 out = logp.stdout.read().decode('utf-8')
26 if out:
27 log = log + out
28 else:
29 return
30
static DecodeResult decode(std::string path)
Definition: png_codec.cpp:124

Variable Documentation

◆ args

ios_debug_cmd.args = sys.argv[2:]

Definition at line 18 of file ios_debug_cmd.py.

◆ bundle_id

ios_debug_cmd.bundle_id = sys.argv[1]

Definition at line 17 of file ios_debug_cmd.py.

◆ log

string ios_debug_cmd.log = ''

Definition at line 21 of file ios_debug_cmd.py.

◆ logp

ios_debug_cmd.logp = subprocess.Popen(['idevicesyslog'], stdout=subprocess.PIPE, bufsize=-1)

Definition at line 20 of file ios_debug_cmd.py.

◆ logt

ios_debug_cmd.logt = threading.Thread(target=collect_log)

Definition at line 31 of file ios_debug_cmd.py.

◆ rv

ios_debug_cmd.rv = subprocess.call(['idevicedebug', '--debug', 'run', bundle_id] + args)

Definition at line 34 of file ios_debug_cmd.py.