Esempio n. 1
0
 /// <nodoc/>
 public DebuggerState(PathTable pathTable, LoggingContext loggingContext, Logger logger = null)
 {
     PathTable         = pathTable;
     MasterBreakpoints = BreakpointStoreFactory.CreateMaster();
     m_stoppedThreads  = new Dictionary <int, ThreadState>();
     m_debuggerStopped = false;
     LoggingContext    = loggingContext;
     Logger            = logger ?? Logger.CreateLogger();
 }
Esempio n. 2
0
 /// <nodoc/>
 public DebuggerState(
     PathTable pathTable,
     LoggingContext loggingContext,
     Renderer.CustomRenderer customRenderer,
     IExpressionEvaluator expressionEvaluator,
     Logger logger = null)
 {
     PathTable           = pathTable;
     LoggingContext      = loggingContext;
     CustomRenderer      = customRenderer;
     ExpressionEvaluator = expressionEvaluator;
     MasterBreakpoints   = BreakpointStoreFactory.CreateMaster();
     m_stoppedThreads    = new Dictionary <int, ThreadState>();
     m_debuggerStopped   = false;
     Logger = logger ?? Logger.CreateLogger();
 }
Esempio n. 3
0
        private IBreakpointStore GetBreakpointStore(Context context)
        {
            var debugState = context.DebugState;

            return(debugState.Breakpoints ?? (debugState.Breakpoints = BreakpointStoreFactory.CreateProxy(m_state.MasterBreakpoints)));
        }