public DbgSymbolGroup(DbgEngDebugger debugger, DEBUG_SCOPE_GROUP scope, DbgStackFrameInfo frame, DbgEngContext context) : base(debugger) { if (null == context) { context = debugger.GetCurrentDbgEngContext(); } if (null == frame) { frame = debugger.GetCurrentScopeFrame(); } Context = context; Frame = frame; using (new DbgEngContextSaver(debugger, context)) { debugger.ExecuteOnDbgEngThread(() => { WDebugSymbols ds5 = (WDebugSymbols)debugger.DebuggerInterface; WDebugSymbolGroup symGroup; CheckHr(ds5.GetScopeSymbolGroup2(scope, null, out symGroup)); m_symGroup = symGroup; Target = debugger.GetCurrentTarget(); }); } } // end constructor
// internal DbgSymbolGroup( DbgEngDebugger debugger, // WDebugSymbolGroup symGroup, // DbgTarget target ) // context // : base( debugger ) // { // if( null == symGroup ) // throw new ArgumentNullException( "symGroup" ); // if( null == target ) // throw new ArgumentNullException( "target" ); // m_symGroup = symGroup; // Target = target; // } // end constructor public DbgSymbolGroup(DbgEngDebugger debugger, DEBUG_SCOPE_GROUP scope) : this(debugger, scope, null, null) { }
public GetDbgLocalSymbolCommand() { Scope = DEBUG_SCOPE_GROUP.ALL; } // end constructor