<s> from abc import ABCMeta , abstractmethod <EOL> class Debugger ( object ) : <EOL> __metaclass__ = ABCMeta <EOL> def __init__ ( self , debug_view ) : <EOL> self . debug_view = debug_view <EOL> def signal_position_changed ( self , file_name , line_number ) : <EOL> '''<STR_LIT>''' <EOL> self . debug_view . set_cursor ( file_name , line_number ) <EOL> def signal_text_result ( self , result , reason ) : <EOL> '''<STR_LIT>''' <EOL> self . debug_view . add_text_result ( result , reason ) <EOL> def signal_process_ended ( self ) : <EOL> self . debug_view . stop ( ) <EOL> @ abstractmethod <EOL> def run_command ( self , command_type , ** args ) : <EOL> pass </s>
