Browse Source

Do not expire functions during evaluation. (Fixes Forum-6794 Forum-6823 Forum-7029)

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1363 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 19 years ago
parent
commit
3aead82187
  1. 2
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs
  2. 3
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Thread.cs

2
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Function.cs

@ -42,7 +42,7 @@ namespace Debugger @@ -42,7 +42,7 @@ namespace Debugger
public string Name {
get {
return methodProps.Name;
return methodProps.Name; // + "(" + chainIndex.ToString() + ", " + frameIndex.ToString() + ")";
}
}

3
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Thread.cs

@ -249,8 +249,11 @@ namespace Debugger @@ -249,8 +249,11 @@ namespace Debugger
return corFrameEnum.Next();
}
// NOTE: During evlulation some chains may be temporaly removed
internal void CheckExpirationOfFunctions()
{
if (debugger.Evaluating) return;
ICorDebugChainEnum corChainEnum = corThread.EnumerateChains();
uint maxChainIndex = corChainEnum.Count - 1;

Loading…
Cancel
Save