public DebugSession(IDebugSessionContext context, IBreakpointView breakpointView, IControlFlowView controlFlowView, IWatchWindow watchWindow) { Context = context; BreakpointView = breakpointView; ControlFlowView = controlFlowView; WatchWindow = watchWindow; }
/// <param name="batchSize"> /// Number of children to request per IEnumDebugPropertyInfo2.Next() call. Visual Studio /// appears to use 10 for Watch, Locals and Autos windows, 15 for variable tooltips and /// int.MaxValue (all children in one batch) for the Registers window. /// </param> public VariableExpander(VariableEntry.Factory variableEntryFactory, IDebugSessionContext debugSessionContext, int batchSize) { _variableEntryFactory = variableEntryFactory; _debugSessionContext = debugSessionContext; _batchSize = batchSize; _childToIndex = new Dictionary <IVariableEntryInternal, int>(); _indexToChild = new Dictionary <int, IVariableEntryInternal>(); }
public ProgramStoppedJob(JoinableTaskContext taskContext, IDebugEngine2 debugEngine, IDebugEvent2 evnt, IDebugSessionContext debugSessionContext, IDebugThread2 thread, IFiredBreakpointSetter firedBreakpointSetter) : base(taskContext, debugEngine, evnt) { _debugSessionContext = debugSessionContext; _thread = thread; _firedBreakpointSetter = firedBreakpointSetter; }
public virtual IDebugSessionContext GetDebugSessionContext() { if (debugSessionContext == null) { debugSessionContext = new DebugSessionContext(); } return(debugSessionContext); }
public Factory(IJobQueue jobQueue, RefreshVariableJob.Factory refreshVariableJobFactory, IDebugSessionContext debugSessionContext, VariableExpander.Factory variableExpanderFactory) { _jobQueue = jobQueue; _refreshVariableJobFactory = refreshVariableJobFactory; _debugSessionContext = debugSessionContext; _variableExpanderFactory = variableExpanderFactory; }
public SyncWatchWindow( IDebugSessionContext debugSessionContext, VariableEntry.Factory variableEntryFactory) { _debugSessionContext = debugSessionContext; _debugSessionContext.SelectedStackFrameChanged += HandleSelectedStackFrameOrHexadecimalDisplayChanged; _debugSessionContext.HexadecimalDisplayChanged += HandleSelectedStackFrameOrHexadecimalDisplayChanged; _variableEntryFactory = variableEntryFactory; }
public BreakpointView(BindBreakpointJob.Factory bindBreakpointJobFactory, BreakpointDeleteJob.Factory breakpointDeleteJobFactory, IDebugSessionContext debugSessionContext, IJobQueue jobQueue, JoinableTaskContext taskContext) { _bindBreakpointJobFactory = bindBreakpointJobFactory; _breakpointDeleteJobFactory = breakpointDeleteJobFactory; _debugSessionContext = debugSessionContext; _jobQueue = jobQueue; _taskContext = taskContext; }
VariableEntry(IVariableDataSource dataSource, IJobQueue jobQueue, RefreshVariableJob.Factory refreshVariableJobFactory, IDebugSessionContext debugSessionContext, IVariableExpander variableExpander) { _dataSource = dataSource; _jobQueue = jobQueue; _refreshVariableJobFactory = refreshVariableJobFactory; _debugSessionContext = debugSessionContext; _variableExpander = variableExpander; }
public JobOrchestrator(IDebugSessionContext debugSessionContext, IJobQueue queue, ProgramStoppedJob.Factory programStoppedJobFactory, BroadcastDebugEventJob.Factory broadcastDebugEventJobFactory, ProgramTerminatedJob.Factory programTerminatedJobFactory) { _debugSessionContext = debugSessionContext; _queue = queue; _programStoppedJobFactory = programStoppedJobFactory; _broadcastDebugEventJobFactory = broadcastDebugEventJobFactory; _programTerminatedJobFactory = programTerminatedJobFactory; }
public LaunchAndAttachFlow(BindPendingBreakpointsHandler bindPendingBreakpoints, Func <IDebugEngine2> createDebugEngine, IDebugEventCallback2 debugEventCallback, IDebugSessionContext debugSessionContext, IProjectAdapter projectAdapter, ITargetAdapter targetAdapter, IJobQueue jobQueue, JoinableTaskContext taskContext, ObserveAndNotifyJob.Factory observeAndNotifyJobFactory, LaunchAndAttachJob.Factory launchAndAttachJobFactory) { _bindPendingBreakpoints = bindPendingBreakpoints; _createDebugEngine = createDebugEngine; _debugEventCallback = debugEventCallback; _debugSessionContext = debugSessionContext; _projectAdapter = projectAdapter; _targetAdapter = targetAdapter; _jobQueue = jobQueue; _taskContext = taskContext; _observeAndNotifyJobFactory = observeAndNotifyJobFactory; _launchAndAttachJobFactory = launchAndAttachJobFactory; }
public Factory(IDebugSessionContext debugSessionContext, int batchSize) { _debugSessionContext = debugSessionContext; _batchSize = batchSize; }
public ProgramStoppedJob Create(IDebugEngine2 debugEngine, IDebugEvent2 evnt, IDebugSessionContext debugSessionContext, IDebugThread2 thread) { return(new ProgramStoppedJob(taskContext, debugEngine, evnt, debugSessionContext, thread, _firedBreakpointSetter)); }
public ControlFlowView(IDebugSessionContext debugSessionContext) { _debugSessionContext = debugSessionContext; }
public ProgramTerminatedJob(JoinableTaskContext taskContext, IDebugEngine2 debugEngine, IDebugEvent2 evnt, IDebugSessionContext debugSessionContext) : base(taskContext, debugEngine, evnt) { _debugSessionContext = debugSessionContext; }
public ProgramTerminatedJob Create(IDebugEngine2 debugEngine, IDebugEvent2 evnt, IDebugSessionContext debugSessionContext) => new ProgramTerminatedJob(taskContext, debugEngine, evnt, debugSessionContext);