Ejemplo n.º 1
0
 /// <summary>
 /// Gets the next chain of frames for the thread.
 /// </summary>
 /// <param name="chain">
 /// The next chain if this chain is not the last, otherwise <see langword="null" />.
 /// </param>
 public int GetNext(out CorDebugChain chain)
 => InvokeGetObject(_this, This[0]->GetNext, out chain);
Ejemplo n.º 2
0
 /// <summary>Gets the chain that was called by this chain.</summary>
 /// <param name="chain">
 /// The callee chain if this chain is not currently executing (that is, if this
 /// chain is waiting for a called chain to return), otherwise <see langword="null" />.
 /// </param>
 /// <remarks>
 /// This chain will wait for the called chain to return before it resumes
 /// execution. The called chain may be on another thread in the case of cross-thread
 /// marshaled calls.
 /// </remarks>
 public int GetCallee(out CorDebugChain chain)
 => InvokeGetObject(_this, This[0]->GetCallee, out chain);
Ejemplo n.º 3
0
 /// <summary>
 /// Gets the previous chain of frames for the thread.
 /// </summary>
 /// <param name="chain">
 /// The previous chain if this chain is not the first, otherwise <see langword="null" />.
 /// </param>
 public int GetPrevious(out CorDebugChain chain)
 => InvokeGetObject(_this, This[0]->GetPrevious, out chain);
Ejemplo n.º 4
0
 /// <summary>
 /// Gets the active (most recent) stack chain on this thread.
 /// </summary>
 /// <remarks>
 /// <see paramref="chain" /> is <see langword="null" /> if no stack
 /// chain is currently active.
 /// </remarks>
 public int GetActiveChain(out CorDebugChain chain) => InvokeGetObject(_this, This[0]->GetActiveChain, out chain);