NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: johnnystarr on October 18, 2019, 08:47:19 PM

Title: Debugging / Symbols for win64 binary
Post by: johnnystarr on October 18, 2019, 08:47:19 PM
I have figured out how to generate x64 binaries on Windows.  I am making use of both nasm and GoLink to do so.  Here's a quick example:

Code: [Select]
nasm -f win64 test.asm -o test.obj
golink /entry:main test.obj /console

This is straight forward and works great.  I've been using "x64dbg" to debug.  However, it isn't picking up the symbols.  I realized this and tried to check
 for NASM's debugger symbol support.  For "win64" it considers it just a binary, there is no support.  Am I missing something?  It seems that
NASM is really good for Windows based assembly development.  I'd hate to not be able to debug properly due to this missing functionality.
Title: Re: Debugging / Symbols for win64 binary
Post by: ig on October 25, 2019, 12:38:01 PM
Have you tried the -g switch?