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
0 answers

Why does .o files contain debug symbols but static library (.a) does not?

A static library (MacOS .a package) is made out of several object files (compiled source code .o files). From the Xcode output I can verify that .o files were built using debug symbols (-g flag used), moreover, running dwarfdump file.o prints out…
peetonn
  • 2,942
  • 4
  • 32
  • 49
0
votes
1 answer

Is showing the Exception StackTrace useful in a RELEASE assembly or only a DEBUG .dll

I've gone to some lengths to improve the error handling in my webservice - in particular, showing the StackTrace as in this example: catch (Exception ex) { EventLog log = new EventLog(); log.Source = g_EventSource; …
John Adams
  • 4,773
  • 25
  • 91
  • 131
0
votes
0 answers

Remove debugger symbols from xCode 4.6

I have an IOS app (ObjC and C++) I've just noticed that the output binary file contains debuger symbols - there are no variable names nor method names, but I can see class names. All stripping settings are enabled, GenerateDebugSymbols is set to…
EdGar
  • 11
  • 2
0
votes
2 answers

Xcode - Looking at logs in debug mode? (iOS)

Let's say you run your application from your Xcode. When it's running from your Xcode, you can see the logs in the debugger. Once you stop the application and run the app again from your device by tapping it, you won't be able to see the logs in the…
Rocky
  • 289
  • 2
  • 3
  • 11
0
votes
2 answers

Debugging xunit test from VS: symbols loaded but not as user code

I'm trying to debug my unit tests (xunit) under Visual Studio 2012 (via Test Explorer -> Debug Selected Test). But I can't step into my code of target library. In Modules window I see, what my library symbols are loaded, and the symbol file is…
Win4ster
  • 896
  • 1
  • 8
  • 15
0
votes
0 answers

Symbols not loaded for java.exe

Im sure this question is probably worded poorly, so please ask me questions and Ill respond promptly. Im compiling some code in debug and putting the resulting .dll where my web server starts from. When I start the web server, a java.exe process…
user2423096
  • 53
  • 1
  • 8
0
votes
0 answers

How do I setup new compilation symbols in a MVC application?

Here's my setup for compilation for Release and debug. What if I want to create a compilation build for client called "clientX" and "ClientY". So I need a setup for ClientX.Debug, ClientX.Release and ClientY.Debug, ClientY.Release. How do I setup…
Chaka
  • 1,709
  • 11
  • 33
  • 58
0
votes
2 answers

GDB debug info parser/description

During the work I faced with the following problem: I need to parse GDB debug info. Separate debug info file is a binary, so I can not read it without knowing a format. So, here is the question: Is there any ready parser for GDB info, or at least…
Alex
  • 9,891
  • 11
  • 53
  • 87
0
votes
1 answer

Getting link.exe, lib.exe, editbin.exe and dumpbin.exe to use the symbol server

I have WinDbg set to download symbols to c:\symbols. The symbols for advapi32 (for example) are in c:\symbols\advapi32.pdb\3F32049F550C42B09CF114A1FB8A97E92\advapi32.pdb. The only way I've gotten link.exe, and those other stub exe's to use those…
Justin Dearing
  • 14,270
  • 22
  • 88
  • 161
0
votes
0 answers

Getting line of code from code address

I am able to get what function an address corresponds to by going through the .map file. I want to take it one step further and also print the line of code where the address corresponds to. The address I am referring to is the lr register. I…
user2233706
  • 6,148
  • 5
  • 44
  • 86
0
votes
1 answer

Debug symbols for LLVM libraries?

I'm using the Ubuntu packages to develop against the LLVM libraries. Here are the packages I have installed: libllvm3.1 llvm-3.1 llvm-3.1-dev llvm-3.1-runtime llvm-3.1-source 'llvm-3.1-source' contains the source code, but as far as I can tell,…
brooks94
  • 3,836
  • 4
  • 30
  • 57
0
votes
1 answer

Groovy, STS, and debug info, information, or symbols

I'm trying to include the debug information or symbols in my Groovy code so that I can use the Spring Security annotations with SpEL to access an annotated method's arguments by name. For example: @PreAuthorize("hasPermission(#id, 'View')") public…
0
votes
1 answer

Symbol matrix function differentiation

1.The function 'diff' seems could only work with one-element variable 'v' diff(f,v); % f(v), v is a one-lelement variable while I would like do differentiation on a symbol matrix diff(F, V); % F(V), V is a symbol matrix variable 2.If I make…
xychen
  • 31
  • 4
0
votes
1 answer

The case of the vanishing symbols

I have a single solution containing several projects but am only running two right now. Project 1 runs as a windows service in Release mode but runs as a console app in Debug mode. Project 2 is an MMC snapin (output type=class library). They…
Michael Sorens
  • 35,361
  • 26
  • 116
  • 172
0
votes
1 answer

Where can I get VC++ 2005 redistributable version 8.0.50727.5592 including PDBs?

Sometimes crash dump files of our customers will contain references to mfc80u.dll *C:\Windows\winsxs\x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.5592_none_cbf62b764709d1c9\mfc80u.dll N/A N/A No matching binary found. 20 …
Martin Ba
  • 37,187
  • 33
  • 183
  • 337