Browse Source

Fixed expanding of variables while property evaluation is in progress

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1291 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts 2.0-Beta3
David Srbecký 19 years ago
parent
commit
408b372656
  1. 11
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DynamicTreeDebuggerRow.cs

11
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/DynamicTreeDebuggerRow.cs

@ -146,7 +146,16 @@ namespace ICSharpCode.SharpDevelop.Services
protected override void OnExpanding(DynamicListEventArgs e) protected override void OnExpanding(DynamicListEventArgs e)
{ {
if (!populated) { if (!populated) {
Populate(); if (Variable.Debugger.IsPaused) {
Populate();
} else {
EventHandler<DebuggingPausedEventArgs> populate = null;
populate = delegate {
Populate();
Variable.Debugger.DebuggingPaused -= populate;
};
Variable.Debugger.DebuggingPaused += populate;
}
} }
} }

Loading…
Cancel
Save