/// <summary> /// Gets the currently executing function. /// </summary> /// <returns></returns> public CorFunction GetFunction() { ICorDebugFunction cofunc; coframe.GetFunction(out cofunc); return(cofunc == null ? null : new CorFunction(cofunc, options)); }
internal RuntimeFrame(RuntimeThread thread, ICorDebugFrame comFrame) { _thread = thread; _comFrame = comFrame; if (!IsExternal) { ICorDebugFunction comFunction; comFrame.GetFunction(out comFunction); ICorDebugModule comModule; comFunction.GetModule(out comModule); var module = Session.FindModule(x => x.ComModule == comModule); _function = module.GetFunction(comFunction); } }
int ICorDebugInternalFrame.GetFunction(out ICorDebugFunction ppFunction) { return(ICorDebugFrame.GetFunction(out ppFunction)); }