The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: sandeepm on April 15, 2010, 03:19:29 AM

Title: Regarding CodeView tool
Post by: sandeepm on April 15, 2010, 03:19:29 AM
I recently installed MASM 32 on my windows 7 machine.

I wanted to make use of codeview tool to debug my assembly programs.

I did not find the CodeView tool installed under --> C:\masm32\bin

I have used windbg earlier to do debug assembly code. Howvere windb is a protected mode debugger and not a real mode.

Could someone please tell me , why CodeView was not installed as part of the MASM32 install?
Title: Re: Regarding CodeView tool
Post by: clive on April 15, 2010, 05:12:46 PM
CodeView is more of a DOS era tool shipped with MASM 5.x (and prior assemblers/compilers from Microsoft), there was a CodeView for Windows 3.xx. Most people I know used WinDbg or SoftICE for later versions of Windows, or Dr Watson for app level stuff. For purely app stuff the debugger in Visual Studio is also workable. The chances of using any version of CodeView in Win7 is pretty slim. If you have to use CodeView perhaps a virtual machine would be worth a try.

For DOS applications DEBUG or SYMDEB should still be somewhat workable.

Most people around here use OllyDbg

-Clive
Title: Re: Regarding CodeView tool
Post by: sandeepm on April 15, 2010, 07:35:09 PM
I appreciate your help on giving me the Right directions. I have learned most of my assembly programming from Randal Hyde's books. But I realized that I was reading a 16 bit version book.

I will continue to use Windbg and Visual studio,

I will also try exploring OllyDbg.
Title: Re: Regarding CodeView tool
Post by: hutch-- on April 16, 2010, 05:05:00 AM
sandeepm,

Clive's advice on Dr Watson is also useful as its a post mortem debugger that tells you where something went bang. You need to set itup to display the assembler listing but it tells you both where the fault occurred and usually why it occurred.