Questions tagged [debug-symbols]

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

A debug symbol is information that expresses which programming-language constructs generated a specific piece of machine code in a given executable module. Sometimes the symbolic information is compiled together with the module's binary file, or distributed in a separate file, or simply discarded during the compilation and/or linking. This information enables a person using a symbolic debugger to gain additional information about the binary, such as the names of variables and routines from the original source code. This information can be extremely helpful while trying to investigate and fix a crashing application or any other fault.

865 questions
15
votes
4 answers

Slow symbol loading in an ASP.NET Project in VS2012

I'm having an issue with loading symbols on my ASP.NET MVC project. The first time I load visual studio and debug my project, symbols are loaded in roughly 2 seconds. I then end the debug session, make a code modification, and debug again, and the…
Jason Fry
  • 1,204
  • 12
  • 24
15
votes
3 answers

How do I create and use a symbol server?

I created a powershell script that gets all the pdb files from the drop location after the build is set to release and copies them to a folder that is shared on the network. I also created a sample application and I added the nuget packages that…
lex87
  • 1,276
  • 1
  • 15
  • 33
14
votes
1 answer

mono debug information with exceptions on debian?

I thought apt-get install mono-dbg would solve it but i was wrong. How do i get debug information with mono? i am using debian squeeze but couldnt figure it out on debian lenny or etch. I wrote a dummy program below and i was hoping for a line…
user34537
14
votes
1 answer

How to create symbols for multi-project Nuget package?

So I'm really struggling to figure this out. I have a solution with a few projects, say, A, B, and C. A references and uses B and C (both project references). I wanted to create a Nuget package from A, and I did so, successfully, although I had to…
stealthjong
  • 10,858
  • 13
  • 45
  • 84
14
votes
6 answers

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 to my makefile but I still get "Reading symbols from ...(no debugging symbols found)" when I load the program in gdb. What is wrong?? Here is a…
delaccount992
  • 1,303
  • 3
  • 15
  • 21
14
votes
2 answers

How to know the given shared library is built with debug symbols or not?

I have some compiled libraries i.e. shared library (*.so) on x86 Linux and I want to quickly determine whether they were compiled with debugging symbols (i.e with -g/debug option) or not. How to check it?
BSalunke
  • 11,499
  • 8
  • 34
  • 68
14
votes
3 answers

How to generate Debug symbols with Makefile for C? [Linux]

I'm trying to use GDB and KDEvelop to debug a console app under Knoppix VM. KDevelop and GDB don't break at my breakpoints. I suspect it's because they don't have debug symbols. If I'm correct how do I need to change my Makefile to create those.…
ArielBH
  • 1,991
  • 3
  • 22
  • 38
14
votes
1 answer

PDB files with Libraries in Visual Studio 10

When building a static library (.LIB) in MS Visual Studio 10 with debug information, the .PDB is always named vc100.pdb.(as opposed to building a .DLL, where the debug info is [MyProjectName].pdb) This is a problem for me because I'm trying to copy…
abelenky
  • 63,815
  • 23
  • 109
  • 159
13
votes
1 answer

Cannot Debug Shared Library - Symbols Not Loading Properly

I am currently writing a small library, and I want to check it for leaks (among other things); however, for some reason, gdb is not loading the library symbols. I have read many other posts on here (and various other places on the internet) about…
RageD
  • 6,693
  • 4
  • 30
  • 37
13
votes
1 answer

How to publish native code symbols to Google Play console?

I am trying to publish an Android application to Google Play and getting a warning: This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze…
Dims
  • 47,675
  • 117
  • 331
  • 600
13
votes
2 answers

Is there a downside to leaving in debug symbols in release builds?

I'm trying to determine whether there are any downsides to building release binaries with debug symbols left in. For our release builds, we compile with -O3 at the moment and if there are any crashes, the cores are next to useless. So, what I would…
Nim
  • 33,299
  • 2
  • 62
  • 101
13
votes
1 answer

Separating out symbols and stripping unneeded symbols at the same time

I am interested in creating an external symbol file which I reference from my ELF file using objcopy --add-gnu-debuglink=.... Now I know how to extract only the debug symbols (objcopy --only-keep-debug) and how to only strip the debug symbols…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
13
votes
2 answers

A matching symbol file was not found (Cannot find/open pdb file)

The debug point is not getting enabled when this module gets loaded. So I thought of manually loading its debug symbols .pdb file from "Debug/obj" folder. In this case I am getting below error "A matching symbol" file was not found in this folder…
Ram
  • 3,887
  • 4
  • 27
  • 49
13
votes
5 answers

Embed .pdb debug symbol information into an .exe file in Visual Studio

I am experimenting an analysis tool that can analyze executable files with embedded debug symbol information in Windows. While trying this tool on several open source projects, I realize that most of the builds do not keep symbolic information in…
Anh Cuong
  • 131
  • 1
  • 3
13
votes
2 answers

What do directory names like D0C3BDDD4ADD4E87B2B5E803303B8D772 in Visual Studio symbol cache mean?

I have a symbol cache directory set to D:\symbols in Visual Studio options: Within this directory Visual Studio creates a hierarchy with top-level directories matching PDB file names (e.g. ole32.pdb), on the next level are one or more directories…