I recently started learning win32 assembly from Iczelion's tutorials. Although I've found the first 9 tutorials to be an excellent introduction to windows programming, I would still like to trace through some of these simple programs to get a better grasp of how win32 assembly works. Also, I would like to avoid tracing through API calls as they seem scary to say the least.

I browsed this forum and found topics that explain basic steps of source level debug using OllyDbg. (http://www.asmcommunity.net/board/index.php?topic=22534.0) and

When I try to view my source in OllyDbg ("View"->"Source"), I just get an empty window.
How can I load my source into OllyDbg and how can I step through my code?
Are there any beginner step-by-step tutorials on using OllyDbg?

Thanks for the help

Posted on 2006-02-16 23:17:24 by pop
Don't bother with the Source window, thats not what you want.  Your code will be displayed in the CPU window.  To get your code in: right-click and go to analysis -> scan object files.  Open your .obj file for your file and scan it.  Your code will be displayed in the box above the hex dump at the bottom left.  To trace through code hit F7 to trace into a call or F8 to trace over a call.  Don't bother tracing into system calls, you will probably never need to.  Try changing your code highlighting in appearance to christmas tree so it will highlight jumps and calls for you.  The Ollydbg help file that it comes with should answer most of your questions.  Good luck.
Posted on 2006-02-28 05:01:47 by Desp

The highlighting is really handy!:D
Thanks for pointing me in the right direction.
Posted on 2006-02-28 20:18:00 by pop

Debugger from TurboAsm 5 (Borland) show the full source text (if you translate one with right appropriate keys).
But this debugger is obsolete and has a lot problems under WinNT
Posted on 2006-03-01 09:39:37 by MikDay