예제 #1
0
 /// <summary>
 /// Create a new instance of the FunctionRemapCompleteStopReason class.
 /// </summary>
 /// <param name="appDomain">The appDomain where remapping is occuring.</param>
 /// <param name="thread">The thread on which the remapping is occuring.</param>
 /// <param name="managedFunction">The version of function the debugger remapped to.</param>
 public FunctionRemapCompleteStopReason(CorDebug.CorAppDomain appDomain,
                                        CorDebug.CorThread thread,
                                        CorDebug.CorFunction managedFunction)
 {
     Debug.Assert(appDomain != null);
     Debug.Assert(thread != null);
     Debug.Assert(managedFunction != null);
     m_appDomain = appDomain;
     m_thread    = thread;
     m_function  = managedFunction;
 }
예제 #2
0
 public RemapOpportunityReachedStopReason(CorDebug.CorAppDomain appDomain,
                                          CorDebug.CorThread thread,
                                          CorDebug.CorFunction oldFunction,
                                          CorDebug.CorFunction newFunction,
                                          int oldILOffset)
 {
     Debug.Assert(appDomain != null);
     Debug.Assert(thread != null);
     Debug.Assert(oldFunction != null);
     Debug.Assert(newFunction != null);
     m_appDomain   = appDomain;
     m_thread      = thread;
     m_oldFunction = oldFunction;
     m_newFunction = newFunction;
     m_oldILOffset = oldILOffset;
 }
예제 #3
0
 /// <summary>
 /// Create a new instance of the FunctionRemapCompleteStopReason class.
 /// </summary>
 /// <param name="appDomain">The appDomain where remapping is occuring.</param>
 /// <param name="thread">The thread on which the remapping is occuring.</param>
 /// <param name="managedFunction">The version of function the debugger remapped to.</param>
 public FunctionRemapCompleteStopReason(CorDebug.CorAppDomain appDomain,
                                        CorDebug.CorThread thread,
                                        CorDebug.CorFunction managedFunction)
 {
     Debug.Assert(appDomain != null);
     Debug.Assert(thread != null);
     Debug.Assert(managedFunction != null);
     m_appDomain = appDomain;
     m_thread = thread;
     m_function = managedFunction;
 }
예제 #4
0
 public RemapOpportunityReachedStopReason(CorDebug.CorAppDomain appDomain,
                                          CorDebug.CorThread thread,
                                          CorDebug.CorFunction oldFunction,
                                          CorDebug.CorFunction newFunction,
                                          int oldILOffset)
 {
     Debug.Assert(appDomain != null);
     Debug.Assert(thread != null);
     Debug.Assert(oldFunction != null);
     Debug.Assert(newFunction != null);
     m_appDomain = appDomain;
     m_thread = thread;
     m_oldFunction = oldFunction;
     m_newFunction = newFunction;
     m_oldILOffset = oldILOffset;
 }
예제 #5
0
 /// <summary>
 /// Looks up a CorFunction.
 /// </summary>
 /// <param name="managedFunction">Which CorFunction to lookup.</param>
 /// <returns>The coresponding MDbgFunction.</returns>
 public MDbgFunction LookupFunction(CorDebug.CorFunction managedFunction)
 {
     return(Lookup(managedFunction.Module).GetFunction(managedFunction));
 }
예제 #6
0
 /// <summary>
 /// Gets the MDbgFunction for a given CorFunction.
 /// </summary>
 /// <param name="managedFunction">The CorFunction to lookup.</param>
 /// <returns>The coresponding MDbgFunction.</returns>
 public MDbgFunction GetFunction(CorDebug.CorFunction managedFunction)
 {
     return(m_functions.Get(managedFunction));
 }