hi
i use masm to develop dos programs and want to use codeview debugger with it. but somehow im not able to view the symbolic information in cv.cv says symbolic information not found. i comple and link as follows:
ml.exe /c /Zi %1
link.exe /v %1

i use the seperate segmented linker, one required for dos.
is there anything im missing.


Madhur
Posted on 2003-03-25 10:10:30 by madhur_ahuja
This is what I use for 16-bit codeview debugging (and listing)

ml /c /Zi /Zd /Zm /Fl /nologo %1
link /CO /nologo %1

You need to link with a codeview option.

I'm not sure if you need the /Zm switch (Enable MASM 5.10 compatibility) I'm using.
Posted on 2003-03-25 10:30:08 by Masmer
THANKS
I MISREPLIED:
I USE LINK /CODEVIEW RATHER THAN LINK /V.
one more question:
what do we use cvpack for. is it necessary for codeview.
Posted on 2003-03-26 08:43:47 by madhur_ahuja
I'm just learning this stuff myself. It helps to read the MASM Programmer's, Reference and Environment and Tools manuals (Often found online). http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/

From the Masm Reference Guide: "The CVPACK utility reduces the size of an executable file that contains CodeView debugging information." http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/ReferenceGuide/Chap_01.htm

So you could run cvpack after assembling/linking an executable with codeview.
Posted on 2003-03-26 09:20:44 by Masmer