To view this discussion on the web visit https://groups.google.com/d/msgid/aranym/CA%2BzYZ39SE%3DP4Ksn82%3DyWVyO687SA8t%3Dv423kiEaUpuwcKo3%3DFQ%40mail.gmail.com.
Any debugger to help me with my dev is helpful....
On Dienstag, 24. Oktober 2023 11:08:54 CEST Miro Kropáček wrote:
> - compile aranym with --enable-debugger
The option is --enable-debug, not --enable-debugger
(as usual, you can run ./configure --help to see the available options)
> about 10 years ago there were also other options available like
> --enable-fullhistory, --enable-disasm
--enable-fullhistory is still available, but IIRC it does not affect the debugger, only when aranym crashes it would print the history of the last instructions
--enable-disasm is also still available, but automatically activated with --enable-debug (a debugger that is not able to disassemble instructions would be rather useless ;) You can still use it separately when you want to use the bfd opcode library for disassembling instead of the builtin one (but that only works if bfd was configured to include the m68k disassembler, which was not always the case)
The old uae interface is indeed gone, but actually it was just duplicate code that redirected debug printfs to stderr.
But other than that: yes, the aranym debugger is pretty dumb.
> since I wanted to debug a aranym (fvdi+aranym.sys)
fVDI (or any other resident program) is difficult to debug anyway. The best option might be to insert some debug printfs that use nf_debugprintf(), and thus print on the host console. Provided you take care of clobbered registers, that even works in interrupt handlers.
In MiNT, you can just use FORCE() to also print to the host console.
On Mittwoch, 25. Oktober 2023 09:23:54 CEST 'WongCK' via ARAnyM wrote:
> Arghhh.... you got to recompile it myself ??
If you want to look at the debugger: yes ;)
But its really not difficult, and you don't need many dependencies.
Only on macOS its more complicated (haven't looked yet at Philips new Project files)