def __init__(self): """Initialize LaunchMON, MRNet, GDB, and other things.""" self.is_shutdown = False self.quit = False self.doing_startup = True self.startup_done_count = 0 self.startup_arecs = [] self.token_handlers = {} self.comm = CommunicatorBE() if not self.comm.init_lmon(sys.argv): sys.exit(1) if not self.comm.init_mrnet(): # TODO: This should cleanly terminate LaunchMON, but does not. sys.exit(1) self.init_gdb() self.init_handlers() self.init_filters() self.variable_printer = VariablePrinter(self)