Skip to contentSkip to conversation

Need advise on how to proceed in debugging ...

DISCUSSION Stas Sergeev 1 participant 1 message May 1, 2002

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 2 lines · Bryan J. Smith

1. I'm having a bit of difficulty trying to figure out how to enable debugging.

There are a lot of debug options.
You may enable the debug logging with -D9+xxx option, where xxx specifies the type of events you are going to log. So, to enable a file access logging, you'll have to specify something like "-D9+d -o /tmp/log" as a dosemu command-line arguments. Consult "man dos" for more. If you want to debug the program that is running under dosemu, you have to start "dosdebug" program that comes with dosemu.
And if you want to debug dosemu itself (which is what you have to do in case it locks up), you have to recompile it with debug info and attach a gdb to it.

Quoted 4 lines

difference. I understand you can also "boot" a non-mounted, "native/real" C: partition too. If so, can I run multiple instances of DOSEmu, or am I limited to only 1 now since I'm booting a real partition?

Even if you are not strictly limited, you'll certainly have a filesystem corruption once the both instances of dosemu are going to write something simultaneously.