コード例 #1
0
 void StackFrameManager_StackFramesUpdated(object sender, StackFramesUpdatedEventArgs e)
 {
     if (e.Debugger.IsEvaluating)
     {
         return;
     }
     // InitializeLocals() is called when the process has been running for a little while. Speeds up stepping.
     if (DebugManager.Instance.ProcessState != DebuggerProcessState.Continuing && DebugManager.Instance.ProcessState != DebuggerProcessState.Running)
     {
         InitializeLocals(e.Debugger.EvalCompleted ? LocalInitType.Simple : LocalInitType.Full);
     }
 }
コード例 #2
0
ファイル: ThreadsVM.cs プロジェクト: Rahul-Sindhu/dnSpy
 void StackFrameService_StackFramesUpdated(object sender, StackFramesUpdatedEventArgs e)
 {
     if (e.Debugger.IsEvaluating)
     {
         return;
     }
     // InitializeThreads() is called when the process has been running for a little while. Speeds up stepping.
     if (e.Debugger.ProcessState != DebuggerProcessState.Continuing && e.Debugger.ProcessState != DebuggerProcessState.Running)
     {
         InitializeThreads();
     }
 }