Is it possible to debug win32asm apps with Visual C++?
I think I've seen somewhere that is possible.
I used to program in Delphi, and one think I really miss when doing my Win32asm programs, is the breakpoints to find errors.
If it is possible, how do I do it?
I have Visual Studio 97 (with Visual C++ 5).
Posted on 2002-01-27 21:15:12 by dilau
I find that OllyDbg is easier.
Posted on 2002-01-27 21:35:15 by bitRAKE
As for me, I use like this

first, make dgbldall.bat
==============================================
@echo off

if not exist rsrc.rc goto over1
c:\masm32\bin\rc /v rsrc.rc
c:\masm32\bin\cvtres /machine:ix86 rsrc.res
:over1

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 %1.obj rsrc.obj
if errorlevel 1 goto errlink

dir %1.*
goto TheEnd

:nores
c:\masm32\bin\Link /SUBSYSTEM:WINDOWS /DEBUG %1.obj
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
==============================================
second,
Insert this in Edit Qedit.ini

&Debug Build All,c:\MASM32\BIN\DgBldall.bat {b}
==============================================
third, build our executalbe with "Dbbldall" in qedit's menu

then, Drag & Drop at Visual Studio icon...
Posted on 2002-01-27 21:59:22 by muzidowa
I do all my asm coding and debugging in VC6, and i swear by it. It takes a couple of minutes to set up your project initially, but it is worth it. You use VC5, but it shouldn't be too much different.

Follow this link to a thread where i posted an answer about how to set up your VC enviroment for asm.
Posted on 2002-01-28 03:49:59 by sluggy
Thanks guys! :)
sluggy: It worked perfectly! :)
Posted on 2002-01-28 15:03:40 by dilau