Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Debug

Status
Not open for further replies.

DCCoolBreeze

Programmer
Jul 25, 2001
208
US
Years ago when I worked in assembly I had a tool named DEBUG. This was a great tool because it allowed me to step through code and watch changes to registers. I am now teaching some new programmers and I would like to step through a progam so they can see how the registers change, etc. Does anyone know where I can get a debugger that will act like the old debug??
 
Why not use debug itself?

If you search a bit around the web you might even find a 32 bit version that can even debug protected mode applications. Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
You mean there is a 32-bit version????

WOW!!

Can it work with Windows programs?

A 16-bit DOS version is still provided with Windows 98. Later versions of Windows probably don't because they don't have DOS support anymore. "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
I've got a commercial debugger (DEBUG32) from Larson Computing. I's a 32-bit debugger, similar to DEBUG but it offers full support for 32-bit instructions and addressing. Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
Don't worry what people think about you. They're too busy wondering what you think about them.
 
Thanks for the information. I remembered what "debugger" I used to use...codeview (cv.exe).
 
Oh the good old days when CodeView was useful! I remember that I was chagrined to learn that I couldn't use CodeView to debug Windows programs the first time I dipped into it...

Say, do you think there's a 32-bit version of CodeView available now? "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
No. But I am training some junior developers. I want to build a strong foundation before I get them into real coding so that they can move relatively easily from one concept to the next. So...I want to build an old DOS system and generate some basic assembly code. Then I want to use codeview to step through the code so they can see how the CPU works with registers. Codeview was a good visual tool for this. Tools today are not so...easy to follow...oh the good ole days when life was simple and words were only 16 bits long...hmmmm :eek:) At any rate, once I show them visually how the CPU works with registers and how addressing works, they should be able to pick up things like say threads, inter-process communications, etc. etc.

I use an analogy from math...If you build a strong foundation in math (algebra)...higher math will come easier.

So I want to build a strong, language independant, foundation with them first. Then they can pick up the languages....it's just syntax
 
You can get codeview from here:
At least I got it from there. There is also some Windows version in there. Maybe it's the same as the DOS version with just the interface changed, but it doesn't work on my computer anyway - it says it wants some file loaded in the system.ini and I don't have it.
If you can get it to work please say how and what it actually is.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top