News:

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

Problem with CodeView

Started by chiang909, September 17, 2010, 09:52:42 AM

Previous topic - Next topic

chiang909

hello everybody,

I am new in Assembly programming as well as Codeview debugger. I have followed the instructions installing the latest version MASM32 and sucessfully assembled and linked the hello.asm and hello.obj.

While trying to the debug the file hello.exe with command : cv hello.exe. It comes up with the error message: no transport layer. I could not find the past posting with the similar cast. Can anyone show me solution or the reference? Thank you.

hutch--

chiang,

Unless I am mistaken, Codeview is a very old DOS program that will not work with modern 32 bit programs. It used to be a component of the very old DOS version of MASM. For current software I would try out Ollydebug as it is designed to work in a modern OS on 32 bit code.

There are also current debuggers by Microsoft but I don't keep up on what they have available.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

chiang909

Quote from: hutch-- on September 17, 2010, 10:33:08 AM
chiang,

Unless I am mistaken, Codeview is a very old DOS program that will not work with modern 32 bit programs. It used to be a component of the very old DOS version of MASM. For current software I would try out Ollydebug as it is designed to work in a modern OS on 32 bit code.

There are also current debuggers by Microsoft but I don't keep up on what they have available.

Hello Hutch,

Thanks for the reply. Do u have the link to the instruction of installing Ollydebug and the manual of using this debugger? thanks.

p/sIt would be great if anyone here know the way to use codeview in the modern OS (window vista).

hutch--

chiang,

Simply download Ollydebug and install it as it should have enough documentatiuon with it to help you. I don't use debuggers much at all so I don't keep them installed.

You can effectively forget CodeView as it will not work on the very late opewrating system versions.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

shankle

Last time I looked Ollydebug didn't have any symbolic references like Softice did.
Therefor, it's IMHO useless to me.
The greatest crime in my country is our Congress

BogdanOntanu

Quote from: shankle on September 17, 2010, 12:26:39 PM
Last time I looked Ollydebug didn't have any symbolic references like Softice did.
Therefor, it's IMHO useless to me.

Completely Wrong...

Build a MASM32 sample with debug info in PDB format and you will see symbolic debug info inside Ollydbg.

Of course that Olly is an user mode debugger as opposed to SoftICE being an kernel mode debugger and because of this Olly will not retrieve kernel symbols from Microsoft's servers... but you can not (normally) debug kernel with Olly anyway so this is no big loss.
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

jj2007

Quote from: BogdanOntanu on September 17, 2010, 02:18:31 PM
Quote from: shankle on September 17, 2010, 12:26:39 PM
Last time I looked Ollydebug didn't have any symbolic references like Softice did.
Therefor, it's IMHO useless to me.

Completely Wrong...


Olly 1 sees symbols, Olly 2 doesn't, unfortunately.

GregL

A great, free debugger/disassembler is MS Visual C++ 2010 Express Edition. It also debugs 64-bit programs.

BogdanOntanu

Olly 2 is not yet finished and not to be used for anything else but testing Olly itself ;)
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

jj2007

Quote from: BogdanOntanu on September 17, 2010, 03:56:38 PM
Olly 2 is not yet finished and not to be used for anything else but testing Olly itself ;)

Olly 2 is more stable than Olly 1, understands SSE2, and plays less tricks on me. I use Olly 1 only when I really need symbols.

ToutEnMasm


Quote
A great, free debugger/disassembler is MS Visual C++ 2010 Express Edition. It also debugs 64-bit programs.

Did you have a quick way to make it debug an asm project ?

GregL

Quote from: ToutEnMasmDid you have a quick way to make it debug an asm project ?

Yes, assemble the file with /Zi, link with /DEBUG. Open the .exe with Open -> Project/Solution, click on the Step Into icon or select Step Into from the Debug menu. You're debugging.