diff --git a/src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs b/src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs index b556eae604..02f7407a55 100644 --- a/src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs +++ b/src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs @@ -137,7 +137,7 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads protected void RefreshPad() { Process process = WindowsDebugger.CurrentProcess; - if (process != null) { + if (process != null && process.IsPaused) { var expressions = this.Items.OfType() .Select(n => n.Node.Name) .ToList();