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
5
votes
1 answer

Finding the rendezvous (struct r_debug) structure of a process?

I'm trying to access the "rendezvous structure" (struct r_debug *) in order to find the link map of a process. But I keep running into invalid adresses and I really can't figure out what's going on. Here's how I go on trying to find it: 1. Get the…
nitram
  • 135
  • 1
  • 6
5
votes
2 answers

How to make yum also install debug symbols?

yum install libevent-devel How to make it also install debug symbols??
gdb
  • 7,189
  • 12
  • 38
  • 36
5
votes
0 answers

Creating debug symbols for gdb manually

Intro. For my compilers course I have to translate some language to assembler. Now my code has a segfault, and I have hard time debugging it. Having an ability to watch variables would simplify the process a lot, but the final asm code has only…
user2956272
5
votes
1 answer

How can I debug using a nuget symbols package from a local folder?

I have a folder on my server that hosts my nuget packages. These packages do not contain source code or symbols (PDBs). This works well. Recently I have set up another folder on my local server to host the symbols files from the assemblies in my…
Reznoir
  • 909
  • 1
  • 11
  • 27
5
votes
3 answers

Cannot find or open the PDB file - PDB not built with DLL

My Visual Studio 2013 ASP.NET webform application has 3 DLL assemblies. When debugging, DLLs and PDBs are created in the same Temporary ASP.NET Files directory for only two of the three DLLs (the Project/VB module and a C# module. The third DLL is…
cltdiver
  • 83
  • 1
  • 1
  • 7
5
votes
1 answer

Symbols loaded, but still can't step into .Net source

I am trying to see the raw response message returned from a call to an internet-connected web API. The calling code looks like this: object[] results = this.Invoke("MethodName", new object[] { requestObject }); The problem is that while debugging,…
ErikE
  • 48,881
  • 23
  • 151
  • 196
5
votes
4 answers

Adding source code to dll when releasing

I have a dll which gets used by a lot of people in our team - I want them to be able to build against that but also be able to step into and click into the source code if they want to see how it is written I can see that is possible with the MSDN…
Jack Kada
  • 24,474
  • 29
  • 82
  • 106
5
votes
2 answers

.net framework 3.5 source code

I'm trying to get hands on the source code for .net Framework 3.5 SP1 for several hours now, and the place I remember getting 3.5 sources in the past, http://referencesource.microsoft.com/netframework.aspx, is dead. Just "3.5" without the "SP1"…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
5
votes
1 answer

Load dbg symbol file into WinDbg

I have a MAP file for a DLL which I'm trying to debug. I converted this to a DBG file with the Map2Dbg-tool and put it into the symbol path. Issuing a .reload /f mydll.dll doesn't work though, a symbol load error occurs. I then tried to diagnose it…
code-factory
  • 249
  • 1
  • 4
  • 11
5
votes
2 answers

C# Conditional equivalent of !DEBUG

What is the C# System.Diagnostics.Conditional equivalent of #if (!DEBUG)? I want to encrypt a section of the app.config file of a console application if it has not been compiled in DEBUG mode. This is achieved like so: public static void…
grenade
  • 31,451
  • 23
  • 97
  • 126
5
votes
2 answers

Get .pdb file path from windbg

Is there a way to get the path of the pdb file currently used by windbg? Either by a native command, or, preferably, using the plugin API. So, ideally I want to be able to do something like: printf(getSymbolFile("ntdll.dll")); which would print…
mtijanic
  • 2,872
  • 11
  • 26
5
votes
2 answers

Which std::map methods are identical (and might share symbols) regardless of template parameters?

I have a crash dump which I'm trying to analyze (VC++ 2010). I then have a callstack that looks like this (I've trimmed a lot here for readability): myapp.exe!std::_Tree ...…
Asaf
  • 4,317
  • 28
  • 48
5
votes
0 answers

How to troubleshoot SymbolSource Server Basic

I have SymbolSource Server Basic installed and running, following the instructions in this blog entry. I can successfully push packages (*.nupkg and *.symbols.nupkg) from TeamCity to my server with no errors. However, while the NuGet side works…
David White
  • 3,014
  • 1
  • 32
  • 35
5
votes
1 answer

Agree to the Microsoft Symbol Server dialog

Various debuggers with support for the Microsoft Symbol Server display a dialog with terms of use for the service upon first invocation. How to get rid of it? And yes, I maintain that debugging is an inherent part of programming and software…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
5
votes
3 answers

BSD atos available on Linux?

Is the atos binary for converting numberic addresses to symbols of binary images available on Linux, specifically Ubuntu? It seems to only be available on OS X.
moinudin
  • 134,091
  • 45
  • 190
  • 216