public void RegisterVariableDisplayController(IVariableDisplayController controller) { if (DefaultController == null) { DefaultController = controller; } _controllerMap.Add(controller.Name, controller); }
public TrackingVariableRowModel(IDebuggerService debuggerService, VariableDisplayManager variableDisplayManager) { _debuggerService = debuggerService; _variableDisplayManager = variableDisplayManager; DisplayController = variableDisplayManager.DefaultController; Debugger = _debuggerService.CurrentDebugger; _debuggerService.OnDebuggingStarted += DebuggerService_OnDebuggingStarted; _debuggerService.OnDebuggingEnded += DebuggerService_OnDebuggingEnded; }