From 349f76d47f7b6313deb3b4e521f7b3ec77da0d07 Mon Sep 17 00:00:00 2001 From: ddkwork <2762713521@qq.com> Date: Sat, 27 Jan 2024 20:25:55 -0800 Subject: [PATCH] reset bool --- code/code/debugview.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/code/debugview.go b/code/code/debugview.go index 31a12408..c0e8a640 100644 --- a/code/code/debugview.go +++ b/code/code/debugview.go @@ -102,7 +102,9 @@ type DebugView struct { } // DbgIsActive means debugger is started. -func (dv *DebugView) DbgIsActive() bool { return dv.Dbg != nil && dv.Dbg.IsActive() } +func (dv *DebugView) DbgIsActive() bool { + return dv.Dbg != nil && dv.Dbg.IsActive() +} // DbgIsAvail means the debugger is started AND process is not currently running -- // it is available for command input.