def __init__(self, debug=False): '''Build stack, memory, and instruction set''' self.stack = [] self.memory = [] self.pc = 0 self.build() Debuggable.__init__(self, "[VM]", debug)
def __init__(self, debug=False): Debuggable.__init__(self, "[ASM]", debug)
def do_debuggable(self, _args): """ Interact with debuggable applications """ subconsole = Debuggable(self.session) subconsole.cmdloop()