コード例 #1
0
ファイル: DbgSymbolGroup.cs プロジェクト: zha0/DbgShell
        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
コード例 #2
0
ファイル: DbgSymbolGroup.cs プロジェクト: zha0/DbgShell
        //  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)
        {
        }
コード例 #3
0
 public GetDbgLocalSymbolCommand()
 {
     Scope = DEBUG_SCOPE_GROUP.ALL;
 } // end constructor