From 748fab4dfb3134ad8c4d873969cc6501eab5b67f Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 6 Dec 2014 00:21:25 +0000 Subject: [PATCH] Debugger - use the Tracer.Header property --- .../tools/Debugger/GenericDebugger.IToolForm.cs | 5 +++++ BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs | 1 + 2 files changed, 6 insertions(+) diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs index e0bb162267..fed072d5b4 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.IToolForm.cs @@ -14,6 +14,11 @@ public void Restart() { + if (!IsHandleCreated || IsDisposed) + { + return; + } + // TODO } diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs index 274cb9d32f..ca1243e98c 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs @@ -63,6 +63,7 @@ namespace BizHawk.Client.EmuHawk try { Core.Tracer.Enabled = true; + TraceView.Columns[0].Text = Core.Tracer.Header; } catch (NotImplementedException) {