def _load_debugger_subcommands(self, name):
<EOL>cmd_instances     = []<EOL>class_prefix      = capitalize(name)  <EOL>module_dir        = '<STR_LIT>' % name<EOL>mod               = __import__(module_dir, None, None, ['<STR_LIT:*>'])<EOL>eval_cmd_template = '<STR_LIT>'<EOL>for module_name in mod.__modules__:<EOL><INDENT>import_name = module_dir + '<STR_LIT:.>' + module_name<EOL>try:<EOL><INDENT>command_mod = importlib.import_module(import_name)<EOL><DEDENT>except ImportError:<EOL><INDENT>print(("<STR_LIT>" %<EOL>(import_name, module_name, sys.exc_info()[<NUM_LIT:0>])))<EOL>continue<EOL><DEDENT>classnames = [ classname for classname, classvalue in<EOL>inspect.getmembers(command_mod, inspect.isclass)<EOL>if ('<STR_LIT>' != classname and<EOL>classname.startswith(class_prefix)) ]<EOL>for classname in classnames:<EOL><INDENT>eval_cmd = eval_cmd_template % classname<EOL>try:<EOL><INDENT>instance = eval(eval_cmd)<EOL>self.cmds.add(instance)<EOL><DEDENT>except:<EOL><INDENT>print("<STR_LIT>" % classname)<EOL>pass<EOL><DEDENT>pass<EOL><DEDENT>pass<EOL><DEDENT>return cmd_instances<EOL>
Create an instance of each of the debugger
        subcommands. Commands are found by importing files in the
        directory 'name' + 'sub'. Some files are excluded via an array set
        in __init__.  For each of the remaining files, we import them
        and scan for class names inside those files and for each class
        name, we will create an instance of that class. The set of
        DebuggerCommand class instances form set of possible debugger
        commands.