def _postprocess_options(dbg, opts):
<EOL>print_events = []<EOL>if opts.fntrace:   print_events = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>if opts.linetrace: print_events += ['<STR_LIT>']<EOL>if len(print_events):<EOL><INDENT>dbg.settings['<STR_LIT>'] = frozenset(print_events)<EOL>pass<EOL><DEDENT>for setting in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>dbg.settings[setting] = getattr(opts, setting)<EOL>pass<EOL><DEDENT>if getattr(opts, '<STR_LIT>'):<EOL><INDENT>dbg.settings['<STR_LIT>'] = opts.highlight<EOL><DEDENT>else:<EOL><INDENT>dbg.settings['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>dbg.settings['<STR_LIT>'] = None<EOL>if not opts.private:<EOL><INDENT>Mdebugger.debugger_obj = dbg<EOL>pass<EOL><DEDENT>if opts.post_mortem:<EOL><INDENT>Mapi.debugger_on_post_mortem()<EOL>pass<EOL><DEDENT>return<EOL>
Handle options (`opts') that feed into the debugger (`dbg')