示例#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;
        }
示例#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;
        }
示例#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);
        }
示例#4
0
 public HRESULT GetMethodLocationProperty(
     string pszFullyQualifiedMethodPlusOffset,
     IDebugSymbolProvider pprovider,
     IDebugAddress paddress,
     IDebugBinder pbinder,
     out IDebugProperty2 ppproperty
     )
 {
     ppproperty = null;
     return((HRESULT)HResult.E_NOTIMPL);
 }
示例#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;
                    }
                }
            }
        }
示例#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);
        }
示例#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;
    }
示例#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;
    }
示例#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;
    }
示例#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;
        }
      }
    }
示例#11
0
 public  HRESULT GetMethodLocationProperty( 
   string                  pszFullyQualifiedMethodPlusOffset,
   IDebugSymbolProvider	pprovider,
   IDebugAddress			paddress,
   IDebugBinder			pbinder,
   out IDebugProperty2 	ppproperty
   ) 
 {
   ppproperty = null;
   return (HRESULT)HResult.E_NOTIMPL;
 }
示例#12
0
 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;
 }
示例#13
0
 public int GetMethodLocationProperty(string upstrFullyQualifiedMethodPlusOffset, IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, out IDebugProperty2 ppProperty)
 {
     ppProperty = null;
     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;
 }
示例#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;
 }
示例#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);
 }
示例#19
0
 public int GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, out IDebugProperty2 ppProperty)
 {
     ppProperty = null;
     return(VSConstants.E_NOTIMPL);
 }
示例#20
0
 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);
 }