3

Is there a utility like CodeView that I can use to step through code assembled by NASM where I can see the current state of the registers/memory?

3
  • 1
    The question should be phrased thus: how do I make NASM emit debugger info? Pretty much every single modern debugger (Visual Studio, Eclipse, Xcode, gdb) allows for assembly-level tracing and register/memory inspection. The trick is to make your program debugger-friendly. Commented Jan 11, 2010 at 16:23
  • I was able to setup Visual Studio to step through the assembly. Thanks for the insight! Commented Jan 13, 2010 at 17:15
  • See the bottom of the x86 tag wiki for some asm debugging tips for GDB like layout reg, mentions of some GUI front-ends for GDB, and for Visual Studio asm debugging. Commented Oct 17, 2021 at 8:19

2 Answers 2

3

ok, gdb is fine. But if you are interested in graphical software, I recommend you to use SASM (SimpleASM). It is like an IDE for the most popular assembly languages. So, look at here

Sign up to request clarification or add additional context in comments.

Comments

0

I used to compile assembly code with gas, and link it with ld, and then use gdb to debug it. I don't know if it's applicable to you, but it should.

1 Comment

asm GDB tips at the bottom of stackoverflow.com/tags/x86/info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.