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

How do I create a debug build of a recent Tensorflow version with CUDA Support?

I tried and tried to create a debug build for a recent version of Tensorflow , using the official docker images (latest-cuda-devel-py3 -> r1.12.0) but nothing seems to work. Has someone recently created a successful debug build for Tensorflow (>=…
3
votes
1 answer

GDB does not load debugging symbols although they are present

I have a binary which was compiled with gcc and debugging symbols enabled: # file binary binary: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0,…
Bobface
  • 2,782
  • 4
  • 24
  • 61
3
votes
2 answers

Getting debug symbols on UNIX

On windows we can get the debug symbols using the dbgHelp library. How can we do it on UNIX/linux (with c++)? thanks :)
Idov
  • 5,006
  • 17
  • 69
  • 106
3
votes
0 answers

Looking up source line numbers from a native crash reported by Google Play

Google Play reports crashes in my NDK native Android app. These reports include a callstack. Good so far, but I would like to know line numbers as well, not just which function it crashed in. Example report from Google Play: *** *** *** *** *** ***…
Bram
  • 7,440
  • 3
  • 52
  • 94
3
votes
1 answer

Running project with debug takes extremely long to load

For some reason, my Silverlight project in VS2010 recently started to take forever to load, upwards of even 10min or so. Sometimes it won't ever load as far as I can tell, and just hangs on the silverlight loading screen with the blue dots in a…
JoeCool
  • 4,392
  • 11
  • 50
  • 66
3
votes
1 answer

Loading symbols for remote debugging

I am trying to debug a plug-in for TFS 2010 using the code found here. That example recommends using TFS installed locally to debug. I wanted to try it with a dev TFS 2010 Server I have setup. So I installed Remote Debugger x64 on that machine…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
3
votes
2 answers

Can Visual Studio access TeamCity symbol server if basic auth is rquired?

I have TeamCity symbol server plugin working and can pull symbols & source from VS2017 as expected as long as I allow guest login in TeamCity and guest has appropriate rights. However, the required rights are quite permissive (allows downloading…
3
votes
1 answer

C++: String Representation of Class for Debugging

I'm debugging a program written in C++, and I would like to have an intuitive representation of objects I deal with. Is there a specific method that C++ debuggers (gdb in particular) would expect a class to implement for them to use at runtime? For…
3
votes
1 answer

Why does file command report "not stripped, with debug_info" of the executable file without "-g" option during compilation?

My OS is Arch Linux, and the test.c program is very simple: # cat test.c #include int main(void) { printf("Hello world!\n"); } Compile it without -g option, and use file command to check the executable file information: # gcc…
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164
3
votes
1 answer

No debugging symbols are available for the OS version installed on Apple Watch

You may get a message in Xcode that states: No debugging symbols are available for the OS version installed on [Apple Watch Name]. Verify that your internet connection is functional, then disconnect and reconnect the companion device to retry…
Jake Chasan
  • 6,290
  • 9
  • 44
  • 90
3
votes
2 answers

WinDbg windows symbols

I am trying to debug a dump file for an application that I wrote. I added the following symbols paths to WinDbg I assumed this would download the windows symbols necessary to debug this. I then run the following cammand in WinDbg "!analyze -v" This…
erebel55
  • 600
  • 2
  • 8
  • 25
3
votes
0 answers

Xcode project no longer showing symbols in call stack

I have an Xcode project with a single Scheme that does nothing more than launch an OS X app in Debug configuration. The app is not built by the project, and the project does not have any targets. The Xcode project just launches the app from a…
Bill Hollings
  • 2,344
  • 17
  • 25
3
votes
3 answers

Is there a way to access debug symbols at run time?

Here's some example code to give an idea of what I want. int regular_function(void) { int x,y,z; /** do some stuff **/ my_api_call(); return x; } ... void my_api_call(void) { char* caller = get_caller_file(); int line =…
jdizzle
  • 4,078
  • 1
  • 30
  • 38
3
votes
1 answer

SymFromAddr does not match debugger symbol for given address

In my windows application, I have hooked malloc using MinHook (https://github.com/TsudaKageyu/minhook) and I'm using CaptureStackBacktrace and SymFromAddr to get symbols for memory leaks. SymFromAddr works reliably for addresses within my…
Falcon
  • 445
  • 3
  • 10
3
votes
1 answer

Why I cannot step into WPF source code in VS?

I'm using VS 2013 with .NET 4.0, and have configured Debug settings as http://referencesource.microsoft.com/. I can step into some core libraries like List but still cannot step into WPF code. VS shows "Source Not Available" for WPF…
Jeffrey Zhao
  • 4,923
  • 4
  • 30
  • 52