News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Debugging the program

Started by amrac, December 28, 2009, 06:41:41 PM

Previous topic - Next topic

amrac

Í'm debugging a program with Masm 5.1 and I know that there is a way to change from debugging mode to graphic mode while I am still debugging. How can I do that?

dedndave

lordy - it has been years since i played with CodeView, but i think that is what you are talking about
for 16-bit code, i found that Symdeb was much easier to use

dedndave

give this a try
http://web.sau.edu/lilliskevinm/csci240/masmdocs/
at the bottom of the page is a section named "Environment and Tools"
"Part 2" under that is on CodeView - it looks like 5 PDF files
these may be for the versions of CodeView that came with MASM v 6+, but much of it will apply

FORTRANS

Quote from: amrac on December 28, 2009, 06:41:41 PM
Í'm debugging a program with Masm 5.1 and I know that there is a way to change from debugging mode to graphic mode while I am still debugging. How can I do that?

Hello,

   When I am debugging a graphics program, I use another
computer running a terminal program and attached to the
serial port.  On the computer that is going to debug the
program, use the MODE COM1 command to match the
baud rate of the terminal.  Then I use the CTTY
command to redirect the CON device to the COM port.

   Hm, Windows 2000 apparently forgot about CTTY?
Use redirection?

DEBUG Program.EXE <COM1 >COM1

   Another option is to choose a video mode and colors
that allow DEBUG to display its output in a readable
fashion.

Cheers,

Steve N.