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

IDebugSymbols doesn't find symbols in symbol server

I am writing a small application that prints out the call stack of a given crash dump. The code is more or less base on this tutorial:…
user425502
0
votes
1 answer

Debug Symbols and PE

I wanted to better understand how debug symbols work in relation with the PE. As I understand the pdb file holds symbol information on its PE. But how exactly can a debugger take a PE and its pdb file and display code? For instance: What…
rig
  • 105
  • 5
0
votes
1 answer

Reproducing a crash from a dump file in Windows Store application

I have a dump file of a Metro application created by AdPlus. I have both the pdb files and the source code. When I open dmp file in Visual Studio I can see only Disassembled code (asm). Is there any way to debug source code? How do I add pdbs and…
Cortlendt
  • 2,190
  • 4
  • 29
  • 50
0
votes
1 answer

Symbolicate crash dumps after stripping static library

We ship static libraries for iOS. These are stripped with -SxX to a) cut down the file size and b) provide a little obfuscation. However, there does not seem to be a way to retain the mapping from __lldb_unnamed_functionXXXXX$$BundleName to the…
OrangeDog
  • 36,653
  • 12
  • 122
  • 207
0
votes
0 answers

ASP.NET MVC2 slow after re-compilation

My ASP.NET MVC2 app took very long before serving first request, if I recompile just 1 file in 1 project. I have compiled in Release mode, disabled IntelliTrace and even do not load debug symbols, still SLOW ! My solution contains 7 projects, even…
0
votes
1 answer

How do you synchronize updates to a Windows symbol store?

I'm considering to set up a symbol store for our team and extend our packaging infrastructure so that debug symbols automatically get added to the store. The idea was that once a build is finished, we run symstore on the build directory and have it…
Frerich Raabe
  • 90,689
  • 19
  • 115
  • 207
0
votes
1 answer

Is it possible to put debug symbol files in RAM?

I develop small projects, using ASP.NET MVC 3-5 and Visual Studio 2010/2013. I have a very slow process of debugging. I tried to accelerate the process of debugging using this statement. Unfortunately, the debugging process is still very slow. Is…
Denis
  • 3,595
  • 12
  • 52
  • 86
0
votes
1 answer

When does dbghelp loads symbol from path embeded in executable file

I have an application that loads debugging symbols using SymInitialize(). From information I found on MSDN symbols are searched in following order: 1. Dir containing the module symbols are being loaded for; 2. _NT_SYMBOL_PATH environment…
Mita
  • 243
  • 5
  • 11
0
votes
1 answer

g++ not compiling in debug information

I have a small .cpp program that compiles and runs and I want to add debugging information to it, so I compile like this: g++ -g a.cpp Then if I check for debug information with the following command: # objdump -g a.out a.out: file format…
Jeff
  • 1,315
  • 2
  • 17
  • 30
0
votes
2 answers

get c++ function name from !DllRegisterServer+0x3ebfa notation to solve 'endless wait in critical section' puzzle

I'm new in debugging with symbols (when no access to the testing machine is possible). I already provided the client with Debug build with .pdb file but for some reason the dump file I get contains no entries specific to my .dll (although the…
Alex
  • 2,469
  • 3
  • 28
  • 61
0
votes
0 answers

Why can breakpoints not be set in some file while other files are OK?

I'm debugging a project with WinDBG. I run across a weird problem: Say the driver image is named foo.sys, and there are two source files named src_1.c and src_2.c; there is a function named void f(); in src_2.c. Step 1: I use OSRLoader to load…
xmllmx
  • 39,765
  • 26
  • 162
  • 323
0
votes
0 answers

VS 2012 Debugging Averages 9 Minutes to Load Symbols

I have a straight-up application -- no web services, or even calls to IIS, no UI, nothing -- just takes input data, munches it, then returns a result. Over the course of 15 trials, debug takes a little over nine minutes(!) to load the symbols before…
EoRaptor013
  • 1,735
  • 4
  • 18
  • 31
0
votes
2 answers

Kernel Module insert error

I was trying to insert an unknown module. which in turn throws error saying, module can not be inserted seems it found an unknown symbol. I have a better access to whole source tree. need clues, how can I start debugging over it. In fact, I have…
0
votes
1 answer

Windbg wrong symbols msvcr80

I'm investigating a w3wp crash on our production machines, I'm loading the crashdump with windbg with the following settings: SRV*C:\MicrosoftSymbols*http://msdl.microsoft.com/download/symbols;C:\MySymbols sym noisy (also tried symbol path…
Michel van Engelen
  • 2,791
  • 2
  • 29
  • 45
0
votes
1 answer

Perf reported IP value incomplete

I try to profile my program myprog using perf, and here's what I get: # # Overhead Symbol Shared Object # ........ …
KrahnacK
  • 313
  • 2
  • 7