Hi all, I'm trying to debug my proggie with Soft-ICE but I cant get the debug info loaded. I've tried combinations of /DEBUG, /DEBUGTYPE, and /Zi and others, but it hasnt worked. Does anyone know the correct compiler directives? Thanx
Posted on 2001-01-29 05:40:00 by Dee-Jon Bryce
hi, i suppose you're using tasm. use /zi with tasm and /v with tlink.
Posted on 2001-01-29 06:33:00 by Tola
No, MASM32
Posted on 2001-01-29 07:45:00 by Dee-Jon Bryce
Here is batch I use for Soft-Ice debug version (leave out stub and else not related) It's made from usual MASM32.bat @echo off if exist %1.obj del %1.obj if exist %1.exe del %1.exe C:\masm32\bin\ml /c /coff /Zi %1.asm if errorlevel 1 goto errasm if not exist rsrc.obj goto nores C:\masm32\bin\Link /SUBSYSTEM:WINDOWS /DEBUG /DEBUGTYPE:CV /LIBPATH:C:\MASM32\LIB /ALIGN:0x1000 /MERGE:.text=SVIN /MERGE:.rdata=SVIN /SECTION:SVIN,EWR /IGNORE:4078,4108 /STUB:"C:\MASM32\STUB.EXE" %1.obj rsrc.obj if errorlevel 1 goto errlink dir %1.* goto TheEnd :nores C:\masm32\bin\Link /nologo /SUBSYSTEM:WINDOWS /DEBUG /DEBUGTYPE:CV %1.obj /STUB:"C:\ARHIV\PESTUB.EXE" /MERGE:.text=SVIN /MERGE:.rdata=SVIN /SECTION:SVIN,ERW /IGNORE:4078,4108 if errorlevel 1 goto errlink dir %1.* goto TheEnd :errlink echo _ echo Link error goto TheEnd :errasm echo _ echo Assembly Error goto TheEnd :TheEnd pause
Posted on 2001-01-29 09:21:00 by The Svin