/// <summary> /// Finds the module for this context /// </summary> /// <param name="process">process of the context</param> /// <returns>[Optional] Module, if the frame has one</returns> internal DebuggedModule FindModule(DebuggedProcess process) { if (this.pc.HasValue) { return(process.ResolveAddress(this.pc.Value)); } return(null); }
/// <summary> /// Finds the module for this context /// </summary> /// <param name="process">process of the context</param> /// <returns>[Optional] Module, if the frame has one</returns> internal DebuggedModule FindModule(DebuggedProcess process) { // CLRDBG TODO: Use module id to find the module if (this.pc.HasValue) { return process.ResolveAddress(this.pc.Value); } return null; }
/// <summary> /// Finds the module for this context /// </summary> /// <param name="process">process of the context</param> /// <returns>[Optional] Module, if the frame has one</returns> internal DebuggedModule FindModule(DebuggedProcess process) { // CLRDBG TODO: Use module id to find the module if (this.pc.HasValue) { return(process.ResolveAddress(this.pc.Value)); } return(null); }