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

Export Symbols of Static Library When Used for iOS App Creation

Some code packed up in a static library by me (using libtool) should be used in another project to build an iOS application. To make crash analysation possible, the .dSYM of the app should also contain the symbols of my static library. I assume I…
fabian789
  • 8,348
  • 4
  • 45
  • 91
4
votes
1 answer

Debugging/troubleshooting windows applications without source code

A few days back I faced this problem at work and I was wondering is there a way to mint out more data from the scenario than to go to Microsoft. There has been many cases like this and I wanted to explore that as a windows developer what is the best…
4
votes
2 answers

How do I change the .NET framework version on a project?

I am trying to use the microsoft reference source but ran into problems. As per their suggestion for troubleshooting I tried to validate that I am using the right .NET framework version. ildasm however shows this: I did however change the target…
Sarien
  • 6,647
  • 6
  • 35
  • 55
4
votes
4 answers

Post-mortem crash-dump debugging without having the exact version of a Windows DLL in the Symbol Server

Within my application, I use the MiniDumpWriteDump function (see dbghelp.dll) to write a crash dump file whenever my application crashes. I also use a symbol server to store all my executables and pdb files, so that whenever a customer sends me a…
Patrick
  • 23,217
  • 12
  • 67
  • 130
4
votes
1 answer

Eclipse working sets -- how to rename them? Also, can the error-icon be disabled?

After mild frustration with the difficulty to make top-level "plain old folders" within Eclipse for visual-organization purposes, I discovered that the thing I'm after is called a "working set". Hooray! But they don't seem to be rename-able, by any…
Lenoxus
  • 545
  • 1
  • 4
  • 19
4
votes
2 answers

Open Minidump : No native symbols in symbol file

In a C# project, I create minidump at UnhandledException. In my Dev machine, project source and bin are under path K:\projects\*MYPROJECT*, if I manage to let it crash in my Dev machine, everything work perfectly, I can open the minidump file and…
Jamby
  • 1,886
  • 2
  • 20
  • 30
4
votes
1 answer

Strip names after linking a static library

In a static library project for iOS 6, some functions in a .c file is referenced by others, and therefore are considered global symbols, but should not be exposed to the user of this library. How can I strip these function names out? Also, how can I…
ZhangChn
  • 3,154
  • 21
  • 41
4
votes
1 answer

Is the .NET garbage collector less aggressive on Release build WITH debug symbols?

In .NET 4.5 we have setup our assemblies to build debug symbols for the Release build - to aid debugging crash dumps etc... on customer sites. My question is: without a debugger attached and running normally in production does the presence of debug…
solidstore
  • 105
  • 1
  • 14
4
votes
1 answer

Force relative debug symbol path (maven-native-plugin)

I am using the native-maven-plugin to compile a shared library on linux. I pass the compiler option -g to enable the debug symbol generation. Here is an excerpt from the POM: org.codehaus.mojo
Alexander
  • 1,068
  • 6
  • 22
4
votes
4 answers

VS2010 and VS2012 “Script Documents” section never appears, and I can't debug JavaScript

Tools: Windows 7, Visual Studio 2010 and 2012, IE 9, ASP.NET 4.0, MVC4 Until a couple of days ago I had been able to debug by using the Script Documents section in the Solution Explorer. Now, the Scripts Documents section does not appear when Start…
4
votes
1 answer

Simplifying complex C++ template symbols

I'm working on a debugging/memory tool. I want to display symbols coming from C++, the problem is that they are very verbose. At the moment I'm just using __cxa_demangle, but this often results in huge strings of more than 500 characters, due to the…
pwaller
  • 601
  • 6
  • 10
3
votes
0 answers

How to use the DIA SDK to read *code* (specifically including jump tables)?

I'm using the DIA SDK from C#. Right now I have something like: static void Main(string[] args) { var v = new DiaSource(); v.loadDataForExe("Temp.exe", null, null); // native, with symbols Dia2Lib.IDiaSession session; …
user541686
  • 205,094
  • 128
  • 528
  • 886
3
votes
1 answer

getting line numbers of offending code in debug vs release builds

My understanding is that with crash dump of debug build you can get the line number of stack trace and this does not happen with release build. In order to try this, I created a very simple application that crashes. class Program { static…
palm snow
  • 2,392
  • 4
  • 29
  • 49
3
votes
1 answer

Does TFS make both Symbol and Source server?

I have read “What is the difference in TFS 2010 between a source server and symbol server?” I have tried to set up my TFS build definition to generate source and symbol server. Like this: However, for me the result looks not like a proper…
Kjell Gunnar
  • 3,017
  • 18
  • 24
3
votes
1 answer

C# Interface Debug Information not linked to sources

I'm trying to re-jig the layout of a very large solution which has become impossibly hard (and s l o w) to work with. My plan is to create a number of solutions containing related projects, and then use binary references where necessary to link to…
Mark
  • 1,784
  • 16
  • 26