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

Remote Debug Symbol file format

Does anyone know about the file format for the remote debug symbol file (Project -> Options -> Linking -> Include Remote Debug Symbols) ?
Nicholas Ring
  • 1,016
  • 7
  • 14
5
votes
1 answer

Symbolicating crash log for app with static library

I'm receiving crash reports from an app but Xcode is not able to symbolicate the symbols that are specific to my app: Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x32c43a1c…
Daniel
  • 872
  • 1
  • 11
  • 20
4
votes
3 answers

How to fix backtrace line number error in C++

I got a problem while wants to trace some information on program catches exceptions. I used the function below: extern "C" void log_backtrace() { // Dump the callstack int callstack[128]; int frames = backtrace((void**) callstack,…
Jason Cheng
  • 315
  • 1
  • 3
  • 8
4
votes
1 answer

LLVM translation unit

I try to understand LLVM program high level structure. I read in the book that "programs are composed of modules ,each of which correspons to tranlation unit".Can someone explain me in more details the above and what is the diffrenece between…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
4
votes
1 answer

Loading dump file; VS doesn't find my source code

I'm developing a .NET 4.0 app in VS 2010. I'm trying to use dump files for the first time, but when loading the minidump into VS, I can't debug it, since VS doesn't find the source files. Here's what I did: In Options -> Debugging -> Symbols I…
Stefan Monov
  • 11,332
  • 10
  • 63
  • 120
4
votes
1 answer

Visual Studio: how to generate debug symbols for Xamarin Android apps

I have a Xamarin.Forms app, created using Visual Studio, which includes Android and iOS projects. The app is deployed via App Center, which supports crash logging, but this feature requires upload of the app's debug symbols. The App Center…
Tim Coulter
  • 8,705
  • 11
  • 64
  • 95
4
votes
0 answers

Symbols cannot be loaded within Docker Container

I was successfully able to dockerize my webapplication. Unfortunately Debugging only works partially within the docker container. All the code that is located in the startup project is debuggable, but the assemblies that are being loaded at runtime…
LuSt
  • 113
  • 2
  • 10
4
votes
0 answers

Why do QProcess (Qt 5.15.1) and GDB lead to missing symbols?

I am currently having some trouble debugging a program that starts processes via QProcess. Simply executing the binary without dbg works just fine but when I try to debug the executable with gdb I am getting a SIGTRAP when the process has…
Elias
  • 41
  • 3
4
votes
0 answers

Why does compiler/linker produces "cryptic" names like "_16386" or "C3304_3" for my functions?

Suppose my code have an internal function, which is not exported, not available for public in any other way (say, a thread function for CreateThread). If I compile my application with C++ Builder (using 10.4 Sydney with classic compiler) - then I…
4
votes
2 answers

How to install php debug symbols on Debian Buster?

I am trying to obatin a meaningful backtrace for some segmentation faults occuring on php-fpm in Debian Buster. Reading Debian's guide, I understand that I need to add the debug repo deb http://deb.debian.org/debian-debug/ buster-debug main I need…
nulll
  • 1,465
  • 1
  • 17
  • 28
4
votes
2 answers

gdb - how to disassemble whole function including loops

Explanation: I am using GDB to disassembly my self-written ELF64 executables which are assembled using NASM. When I try to disassemble using disassemble main, I only get the following output: Dump of assembler code for function…
llambdaa
  • 65
  • 6
4
votes
1 answer

How to set a breakpoint inside a dependency in Rust?

I'm debugging my Rust project with rust-lldb target/debug/my_project I can set up breakpoints directly inside my project and they're working fine, e.g. b function_inside_my_crate Breakpoint 1: (...) What I can't do is set up breakpoint inside my…
CodeSandwich
  • 1,601
  • 13
  • 23
4
votes
1 answer

Strip/Remove debug symbols and archive names from a static library

I have a static library (C++) (say, libmylib_DARWIN.a and libmylib_LINUX.a for 2 architectures) compiled on my Mac using clang (Apple LLVM version 9.0.0 (clang-900.0.39.2) if is of any relevance). Right now, there are two problems: The static…
Anton Menshov
  • 2,266
  • 14
  • 34
  • 55
4
votes
2 answers

NodeJS native module - how to remove debug symbols

I'm writing a native module for Node but would like to remove the debugging information. I'm using node-gyp to build the module. It's doing a release build, but still, the symbol table is included in the output file. So I need to remove it with the…
LachoTomov
  • 3,312
  • 30
  • 42
4
votes
3 answers

define DEBUG symbol on a VS2010 Website?

I can't find where this setting is #if !DEBUG // some code #endif when I change the configuration dropdown from debug to release, I see no changes in my code, which suggests that my DEBUG symbol is not defined EDIT I do not see the…
ebcrypto
  • 610
  • 1
  • 14
  • 28