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; }
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; }
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); }
public HRESULT GetMethodLocationProperty( string pszFullyQualifiedMethodPlusOffset, IDebugSymbolProvider pprovider, IDebugAddress paddress, IDebugBinder pbinder, out IDebugProperty2 ppproperty ) { ppproperty = null; return((HRESULT)HResult.E_NOTIMPL); }
// 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 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); }
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; }
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; }
// 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 HRESULT GetMethodLocationProperty( string pszFullyQualifiedMethodPlusOffset, IDebugSymbolProvider pprovider, IDebugAddress paddress, IDebugBinder pbinder, out IDebugProperty2 ppproperty ) { ppproperty = null; return (HRESULT)HResult.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; }
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; }
public int GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, 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 GetMethodProperty(IDebugSymbolProvider pSymbolProvider, IDebugAddress pAddress, IDebugBinder pBinder, int fIncludeHiddenLocals, 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 = (IDebugProperty2)null; return(VSConstants.E_NOTIMPL); }