[hatari-devel] Re: Hatari debug mode |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Dima Sobolev <avtandil33@xxxxxxxxx>
- Subject: [hatari-devel] Re: Hatari debug mode
- From: Eero Tamminen <oak@xxxxxxxxxxxxxx>
- Date: Mon, 28 Jul 2025 02:46:09 +0300
- Cc: Hatari Development <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Dkim-filter: OpenDKIM Filter v2.11.0 smtp.dnamail.fi 9AFCF4098E90
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=helsinkinet.fi; s=2025-03; t=1753659969; bh=00aDiHk6rf2XJ4pV8+HDk4AElnCPCD9Vw1os2nAQYhY=; h=Date:Subject:To:References:Cc:From:In-Reply-To:From; b=JR6/p4pelIRvfgORnoBAmzQCPBDs1tcKPn2RXenXIEvTxN64wuEUwVy6TQTdFZD2E WSFbpp5TANZNQyZHC1qpTbHRsMraAmqmePr3D1QUuOB0ScSEdeW451eGXJq4TJvVTY SO4e15nGP0AkFt7RsVj/5tQi09h181pv4xi869kUeNfMx4LxC5I8LGWNplq1lPL3+j 4tDe3B58EJhAzG8fT/PC1UdzraMWiFD3lOfzqwAFIM/hMfQvr0Fn0D82j7BisShKzG ZDfUrQLZrj9UDw4DL/aI4oPiSJczx/Xa1t2FMLU1gQiD99+Sp0BtvjehKIYlRmfIDf ZJY0WBG7Coz9Q==
Hi,
I CCed the Hatari devel list.
On 25.7.2025 3.33, Dima Sobolev wrote:
I remember that you are big fan of Hatari.
I'm one of the developers.
Could you please help me - I cannot invoke debug mode.AltGR+Pause just shows me the text about debugging xonsole,
but nothing appeared in facr. I tried 2.60 under Windows.
Did you use -W option so that Hatari opens Windows console window at
startup?
See manual: https://www.hatari-emu.org/doc/manual.html#Debug_options
If you can build Hatari yourself, attached patch should open the console
window automatically when debugger is invoked.
If some Windows user tests it to work as expected, I can push it for
Hatari v2.6.1 release...
> Also I read somewhere that F12 menu should have item Debugger, but
there is no any.
F12 is for the Hatari options dialog. Debugger options can be set only
from the configuration file, not from options dialog.
- Eero
From d0a1c3cec1d9dfbb64663b0778d5ab68d1466797 Mon Sep 17 00:00:00 2001
From: Eero Tamminen <oak@xxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2025 02:30:58 +0300
Subject: [PATCH 1/2] Open Windows console automatically for Debugger
---
src/debug/debugui.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/debug/debugui.c b/src/debug/debugui.c
index 563a87d4..932bdcec 100644
--- a/src/debug/debugui.c
+++ b/src/debug/debugui.c
@@ -1109,6 +1109,11 @@ void DebugUI_Init(void)
if (debugCommands)
return;
+#ifdef WIN32
+ /* in case user forgot -W option */
+ Win_ForceCon();
+#endif
+
if (!debugOutput)
DebugUI_SetLogDefault();
--
2.39.5