From cd31c20658f8f8bbff17425362f1b85a95669662 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 1 May 2009 17:49:30 -0400 Subject: [PATCH] Set the SourceView.file to nil and tell the stack NSArrayController to rearrange * Source/DebuggerController.m: (resetDisplays) --- CHANGES | 2 ++ Source/DebuggerController.m | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index c1060db..300ff90 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,8 @@ MacGDBp CHANGE LOG - Fix: All breakpoint markers will now be displayed in the active code debugger - New: When stepping through code, the selection in the variable list will be retained +- Fix: #160 The code pane could be unpopulated after the debugging the same +script a subsequent time 1.2.1 diff --git a/Source/DebuggerController.m b/Source/DebuggerController.m index f55764a..e79837e 100644 --- a/Source/DebuggerController.m +++ b/Source/DebuggerController.m @@ -113,7 +113,9 @@ { [variablesTreeController setContent:nil]; [stackController.stack removeAllObjects]; + [stackArrayController rearrangeObjects]; [[sourceViewer textView] setString:@""]; + sourceViewer.file = nil; } /** -- 2.43.5