Example #1
0
        /// <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);
        }
Example #2
0
        /// <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;
        }
Example #3
0
        /// <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);
        }