Top "Debug-symbols" questions

A debug symbol is information that expresses which programming-language constructs generated a specific piece of machine code in a given executable module.

#if DEBUG vs. Conditional("DEBUG")

Which is better to use, and why, on a large project: #if DEBUG public void SetPrivateValue(int value) { ... } #endif or […

c# debugging preprocessor debug-symbols
Visual Studio loading symbols

I'm working on a ColdFusion project for a while now, and Visual Studio started to behave strange for me at …

visual-studio debugging debug-symbols
Release generating .pdb files, why?

Why does Visual Studio 2005 generate the .pdb files when compiling in release? I won't be debugging a release build, so …

.net visual-studio debugging pdb-files debug-symbols
How to set up symbols in WinDbg?

I am using Debugging Tools for Windows and I get the following error message when starting WinDbg / cdb or ntsd: …

debugging windbg debug-symbols
Prevent Visual Studio from trying to load symbols for a particular DLL

I have Visual Studio 2005 set up to use Microsoft's symbol servers. I also have UltraMon installed, which injects a hook …

visual-studio debugging debug-symbols
How to disassemble one single function using objdump?

I've got a binary installed on my system, and would like to look at the disassembly of a given function. …

elf debug-symbols disassembly objdump dwarf
How can I tell if a library was compiled with -g?

I have some compiled libraries on x86 Linux and I want to quickly determine whether they were compiled with debugging …

c debugging gdb debug-symbols
Creating symbol table for gdb using cmake

Is there any way to create only symbol table using cmake for gdb ?

cmake debug-symbols
Windows Debugging Symbols - Not Loading

I am having Windows 7 x64 SP1. I have downloaded symbols from: http://msdn.microsoft.com/en-us/windows/hardware/gg463028 I …

debugging visual-c++ debug-symbols pdb-files symbol-server
No debugging symbols in gdb even when compiling with -g flag

I am trying to compile my program with debugging symbols for use in gdb. I have added the -g flag …

c++ gcc makefile gdb debug-symbols