flat assembler
Message board for the users of flat assembler.

Index > DOS > How to debug dos real32 dpmi program?

Author
Thread Post new topic Reply to topic
fasmfan2008



Joined: 28 Oct 2007
Posts: 13
fasmfan2008
How to debug dos real32 dpmi program?

Turbo debugger can not ?
Post 24 Nov 2007, 08:31
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
to debug programs, in real mode, in real 32 dpmi, in protected mode, in v86, and for all processors, the best is to know how the processor works.

then, while running, if there are bugs, you can find them by reading the source and the binaries.
for exemple, i never use any debugger. all the debug is in my brain.
.
Post 24 Nov 2007, 12:16
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
GRDB and 386SWAT and FreeDOS DEBUGX can all debug DOS pmode programs. Your best bet is probably to try them all to see which suits you the most. You can also use OpenWatcom's debugger or even Japheth's debug tools.

N.B. Some of these don't work as well (or at all) under some Windows (e.g. GRDB under Win9x, 386SWAT on Win2k or newer), so caveat emptor.
Post 05 Dec 2007, 14:58
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> How to debug dos real32 dpmi program?

There is no "real32 dpmi" ...

There is real/unreal-16/32-mode and DPMI (16-bit or 32-bit).

To debug 32-bit DPMI programs, use Japheth's DebugX or deb32 .

> Turbo debugger can not ?

No idea, I don't have/use it.

F.A.Q.
Post 16 Dec 2007, 13:46
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17665
Location: In your JS exploiting you and your system
revolution
Even a simple print statements can assist in debugging immensely. Each print statement is a checkpoint and can also give some internal values and conditions.
Post 16 Dec 2007, 16:56
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.