diff --git a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs index 0c81bb734a..ea5f981eed 100644 --- a/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs +++ b/src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/RunningThreadsPad.cs @@ -115,10 +115,12 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads item.Text = thread.ID.ToString(); item.Tag = thread; item.SubItems.Add(thread.Name); - Function location; - location = thread.LastFunctionWithLoadedSymbols; - if (location == null) { - location = thread.LastFunction; + Function location = null; + if (thread.Process.IsPaused) { + location = thread.LastFunctionWithLoadedSymbols; + if (location == null) { + location = thread.LastFunction; + } } if (location != null) { item.SubItems.Add(location.Name);