In -[DebuggerController debuggerConnected] clear out the source viewer.
authorJohn Cook <john@jazzmedia.com.au>
Sat, 23 Jan 2016 07:23:11 +0000 (18:23 +1100)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 31 Jan 2016 22:30:14 +0000 (17:30 -0500)
This prevents the cached file from being reused across runs. Fixes bug #232.

Source/DebuggerController.m

index f05fd38882eaaa4c25e907d6dc8202e757b14c35..3037ae450225c0bbd1d626c8c80aecc255b26825 100644 (file)
     return;
   if ([[NSUserDefaults standardUserDefaults] boolForKey:@"BreakOnFirstLine"])
     [self stepIn:self];
+  // Do not cache the file between debugger executions.
+  sourceViewer.file = nil;
 }
 
 /**