Is it true that binaries generated by visual studio don't have any symbols?

122 Views Asked by At

All output the same:

SYMBOL TABLE:
no symbols

This is what I find after several experiment with objdump,is this true?

If that's the case,I want to give it a little further: is it true all binaries under windows don't have symbols?

1

There are 1 best solutions below

2
Ben Voigt On

Visual Studio default settings put debug symbols into a separate file with a .pdb extension.

Read this answer by @metamatt which explains the other debug formats you can get by changing compiler options.