Author Topic: Debugging / Symbols for win64 binary  (Read 290 times)

Offline johnnystarr

  • New Member
  • Posts: 1
Debugging / Symbols for win64 binary
« 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.

Offline ig

  • Jr. Member
  • *
  • Posts: 7
Re: Debugging / Symbols for win64 binary
« Reply #1 on: October 25, 2019, 12:38:01 PM »
Have you tried the -g switch?