Exemple #1
0
        public int GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, out IDebugProperty2 ppProperty)
        {
            AD7Property method = new AD7Property(m_var);
            ppProperty = method;

            return VSConstants.S_OK;
        }
Exemple #2
0
        private long m_Radix; // TODO : figure out how to get this in all cases

        public CDebugContext(IDebugSymbolProvider symbolProvider, IDebugAddress address, IDebugBinder binder)
        {
            this.m_SymbolProvider = symbolProvider;
            this.m_Address        = address;
            this.m_Binder         = binder;
            this.m_Radix          = 0;
        }
Exemple #3
0
        public int GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, out IDebugProperty2 ppProperty)
        {
            AD7Property method = new AD7Property(m_var);

            ppProperty = method;

            return(VSConstants.S_OK);
        }
Exemple #4
0
 public HRESULT GetMethodLocationProperty(
     string pszFullyQualifiedMethodPlusOffset,
     IDebugSymbolProvider pprovider,
     IDebugAddress paddress,
     IDebugBinder pbinder,
     out IDebugProperty2 ppproperty
     )
 {
     ppproperty = null;
     return((HRESULT)HResult.E_NOTIMPL);
 }
Exemple #5
0
        // IDebugParsedExpression
        public void EvaluateSync(uint dwEvalFlags, uint dwTimeout, IDebugSymbolProvider pSymbolProvider,
                                 IDebugAddress pAddress, IDebugBinder pBinder, String bstrResultType, out IDebugProperty2 ppResult)
        {
            ppResult = null;
            IDebugContext context = new CDebugContext(pSymbolProvider, pAddress, pBinder);

            if (context != null)
            {
                IDebugProperty prop = null;
                prop = this.EvaluateExpression(dwEvalFlags, dwTimeout, context, bstrResultType);

                if (prop != null)
                {
                    CDebugProperty debugProp = new CDebugProperty(prop);
                    if (null != debugProp)
                    {
                        ppResult = debugProp as IDebugProperty2;
                    }
                }
            }
        }
Exemple #6
0
        public HRESULT GetMethodProperty(
            IDebugSymbolProvider pSymbolProvider,
            IDebugAddress pAddress,
            IDebugBinder pBinder,
            bool includeHiddenLocals,
            out IDebugProperty2 ppproperty
            )
        {
            HRESULT hr = (int)HResult.S_OK;

            ppproperty = null;
            IDebugContext context = new CDebugContext(pSymbolProvider, pAddress, pBinder);

            if (context != null)
            {
                IDebugProperty prop = null;
                prop = this.cciEvaluator.GetCurrentMethodProperty((IDebugMethodSymbol)context.GetContainer());

                if (null != prop)
                {
                    CDebugProperty debugProp = new CDebugProperty(prop);
                    if (null != debugProp)
                    {
                        ppproperty = debugProp as IDebugProperty2;
                    }
                    else
                    {
                        hr = (HRESULT)HResult.E_OUTOFMEMORY;
                    }
                }
            }
            else
            {
                hr = (HRESULT)HResult.E_OUTOFMEMORY;
            }

            return(hr);
        }
Exemple #7
0
    public  HRESULT GetMethodProperty( 
      IDebugSymbolProvider    pSymbolProvider,
      IDebugAddress           pAddress,
      IDebugBinder			      pBinder,
      bool	                  includeHiddenLocals,
      out IDebugProperty2     ppproperty
      ) 
    {

      HRESULT hr = (int)HResult.S_OK;
      ppproperty = null;
      IDebugContext context = new CDebugContext(pSymbolProvider, pAddress, pBinder);
      if (context != null)
      {
        IDebugProperty prop = null;
        prop = this.cciEvaluator.GetCurrentMethodProperty((IDebugMethodSymbol)context.GetContainer());

        if (null != prop)
        {
          CDebugProperty debugProp = new CDebugProperty(prop);
          if (null != debugProp)
          {
            ppproperty = debugProp as IDebugProperty2;
          }
          else
            hr = (HRESULT)HResult.E_OUTOFMEMORY;
        }
      } 
      else
        hr = (HRESULT)HResult.E_OUTOFMEMORY;

      return hr;
    }
Exemple #8
0
    public  CDebugContext(IDebugSymbolProvider symbolProvider, IDebugAddress address, IDebugBinder binder, uint evalFlags, uint timeout) : this(symbolProvider, address, binder) {

      this.m_EvalFlags = evalFlags;
      this.m_Timeout = timeout;
      //this.radix = radix;
    }
Exemple #9
0
    private long m_Radix; // TODO : figure out how to get this in all cases

    public  CDebugContext(IDebugSymbolProvider symbolProvider, IDebugAddress address, IDebugBinder binder) {
      
      this.m_SymbolProvider = symbolProvider;
      this.m_Address = address;
      this.m_Binder = binder;
      this.m_Radix = 0;
    }
Exemple #10
0
    // IDebugParsedExpression
    public void EvaluateSync(uint dwEvalFlags, uint dwTimeout, IDebugSymbolProvider pSymbolProvider,
      IDebugAddress pAddress, IDebugBinder pBinder, String bstrResultType, out IDebugProperty2 ppResult) {

      ppResult = null;
      IDebugContext context = new CDebugContext(pSymbolProvider, pAddress, pBinder);
      if (context != null){
        IDebugProperty prop = null;
        prop = this.EvaluateExpression(dwEvalFlags, dwTimeout, context, bstrResultType);

        if (prop != null){
          CDebugProperty debugProp = new CDebugProperty(prop);
          if (null != debugProp)
            ppResult = debugProp as IDebugProperty2;
        }
      }
    }
 public int EvaluateSync(uint dwEvalFlags, uint dwTimeout, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, string bstrResultType, out IDebugProperty2 ppResult)
 {
   ppResult = (IDebugProperty2)null;
   return VSConstants.E_NOTIMPL;
 }
Exemple #12
0
 public int GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, out IDebugProperty2 ppProperty)
 {
     ppProperty = null;
     return(VSConstants.E_NOTIMPL);
 }
 public int PreloadModules(IDebugSymbolProvider pSym)
 {
     return VSConstants.E_NOTIMPL;
 }
 public int EvaluateSync(uint dwEvalFlags, uint dwTimeout, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, string bstrResultType, out IDebugProperty2 ppResult)
 {
     ppResult = new AsmDebugProperty(vs, _name);
     return VSConstants.S_OK;
 }
 public int GetMethodLocationProperty(string upstrFullyQualifiedMethodPlusOffset, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, out IDebugProperty2 ppProperty)
 {
     ppProperty = null;
     return VSConstants.E_NOTIMPL;
 }
Exemple #16
0
 public CDebugContext(IDebugSymbolProvider symbolProvider, IDebugAddress address, IDebugBinder binder, uint evalFlags, uint timeout) : this(symbolProvider, address, binder)
 {
     this.m_EvalFlags = evalFlags;
     this.m_Timeout   = timeout;
     //this.radix = radix;
 }
 public int GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, out IDebugProperty2 ppProperty)
 {
     ppProperty = null;
     return VSConstants.E_NOTIMPL;
 }
Exemple #18
0
 public int EvaluateSync(uint dwEvalFlags, uint dwTimeout, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, string bstrResultType, out IDebugProperty2 ppResult)
 {
     ppResult = new AsmDebugProperty(vs, _name);
     return(VSConstants.S_OK);
 }
Exemple #19
0
 public int GetMethodLocationProperty(string upstrFullyQualifiedMethodPlusOffset, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, out IDebugProperty2 ppProperty)
 {
     ppProperty = null;
     return(VSConstants.E_NOTIMPL);
 }
Exemple #20
0
 public  HRESULT GetMethodLocationProperty( 
   string                  pszFullyQualifiedMethodPlusOffset,
   IDebugSymbolProvider	pprovider,
   IDebugAddress			paddress,
   IDebugBinder			pbinder,
   out IDebugProperty2 	ppproperty
   ) 
 {
   ppproperty = null;
   return (HRESULT)HResult.E_NOTIMPL;
 }
Exemple #21
0
 public int PreloadModules(IDebugSymbolProvider pSym)
 {
     return(VSConstants.E_NOTIMPL);
 }
 public int EvaluateSync(uint dwEvalFlags, uint dwTimeout, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, string bstrResultType, out IDebugProperty2 ppResult)
 {
     ppResult = (IDebugProperty2)null;
     return(VSConstants.E_NOTIMPL);
 }