def __init__(self, runtimeDomain, fileManager, remoteObjectManager, basepath='.', **kwargs): HandlerDomain.__init__(self, **kwargs) self.runtimeDomain = runtimeDomain self.fileManager = fileManager self.remoteObjectManager = remoteObjectManager self.locationSerializer = serialize.LocationSerializer( fileManager, basepath) self.moduleSourcePathUpdater = ModuleSourcePathUpdater( self.debugger.GetSelectedTarget(), fileManager, basepath) self.thread_manager = ThreadManager(self.socket, self.locationSerializer, self.remoteObjectManager)
def __init__(self, channel, debugger, basepath='.'): ''' channel: channel to send client chrome notification message. debugger: lldb SBDebugger object. ''' self._channel = channel self._debugger = debugger self._file_manager = FileManager(channel) self._remote_object_manager = RemoteObjectManager() self._location_serializer = serialize.LocationSerializer( self._file_manager, basepath) self._module_source_path_updater = ModuleSourcePathUpdater( self._debugger.GetSelectedTarget(), self._file_manager, basepath)
def __init__(self, debugger, chrome_channel, ipc_channel, is_attach, basepath='.'): ''' chrome_channel: channel to send client chrome notification messages. ipc_channel: channel to send output/atom notification messages. debugger: lldb SBDebugger object. ''' self._debugger = debugger self._chrome_channel = chrome_channel self._ipc_channel = ipc_channel self._is_attach = is_attach self._file_manager = FileManager(chrome_channel) self._remote_object_manager = RemoteObjectManager() self._location_serializer = serialize.LocationSerializer( self._file_manager, basepath) self._thread_manager = ThreadManager(self)
def __init__(self, debugger, chrome_channel, ipc_channel, is_attach, basepath='.'): ''' chrome_channel: channel to send client chrome notification messages. ipc_channel: channel to send output/atom notification messages. debugger: lldb SBDebugger object. ''' self._debugger = debugger self._chrome_channel = chrome_channel self._ipc_channel = ipc_channel self._is_attach = is_attach self._file_manager = FileManager(chrome_channel) self._remote_object_manager = RemoteObjectManager() basepath = self._resolve_basepath_heuristic(basepath) log_debug('basepath: %s' % basepath) self._fixup_lldb_cwd_if_needed(basepath) self._location_serializer = serialize.LocationSerializer( self._file_manager, basepath) self._thread_manager = ThreadManager(self) self._debugger_settings = self._setDefaultDebuggerSettings()