internal DebugManager(Activity root, string moduleNamePrefix, string typeNamePrefix, string auxiliaryThreadName, bool breakOnStartup, WorkflowInstance host, bool debugStartedAtRoot, bool resetDynamicModule) { if (resetDynamicModule) { dynamicModuleManager = null; } if (dynamicModuleManager == null) { dynamicModuleManager = new StateManager.DynamicModuleManager(moduleNamePrefix); } this.stateManager = new StateManager( new StateManager.Properties { ModuleNamePrefix = moduleNamePrefix, TypeNamePrefix = typeNamePrefix, AuxiliaryThreadName = auxiliaryThreadName, BreakOnStartup = breakOnStartup }, debugStartedAtRoot, dynamicModuleManager); this.states = new Dictionary<object, State>(); this.runningThreads = new Dictionary<int, Stack<Activity>>(); this.instrumentationTracker = new InstrumentationTracker(root); this.host = host; }
internal DebugManager(Activity root, string moduleNamePrefix, string typeNamePrefix, string auxiliaryThreadName, bool breakOnStartup, WorkflowInstance host, bool debugStartedAtRoot, bool resetDynamicModule) { if (resetDynamicModule) { dynamicModuleManager = null; } if (dynamicModuleManager == null) { dynamicModuleManager = new StateManager.DynamicModuleManager(moduleNamePrefix); } this.stateManager = new StateManager( new StateManager.Properties { ModuleNamePrefix = moduleNamePrefix, TypeNamePrefix = typeNamePrefix, AuxiliaryThreadName = auxiliaryThreadName, BreakOnStartup = breakOnStartup }, debugStartedAtRoot, dynamicModuleManager); this.states = new Dictionary <object, State>(); this.runningThreads = new Dictionary <int, Stack <Activity> >(); this.instrumentationTracker = new InstrumentationTracker(root); this.host = host; }