debug-symbols Questions

5

Solved

I need to find the mode EXE/DLL was build looking at its headers. (Using C++ only without any external tools) There is an old discussion on how to determine if DLL was built in Release or Debug mod...
Beverly asked 20/6, 2012 at 8:43

1

Solved

While trying to use the !heap extension in Windbg for investigating a dump, I get following error: 0:000> !heap -s -v -a SEGMENT HEAP ERROR: failed to initialize the extention This happens for ...
Fante asked 31/10, 2017 at 10:20

1

So I'm really struggling to figure this out. I have a solution with a few projects, say, A, B, and C. A references and uses B and C (both project references). I wanted to create a Nuget package fr...
Dragelin asked 25/9, 2018 at 6:55

1

Solved

I am interested in creating an external symbol file which I reference from my ELF file using objcopy --add-gnu-debuglink=.... Now I know how to extract only the debug symbols (objcopy --only-keep-...
Judd asked 13/9, 2017 at 12:37

7

Solved

Is it possible, given a java.lang.Class object, to get the source file name and the line number at which the class was declared? The data should be available in the .class file's debug info. The ...
Pride asked 20/9, 2011 at 10:4

3

My Visual Studio 2013 ASP.NET webform application has 3 DLL assemblies. When debugging, DLLs and PDBs are created in the same Temporary ASP.NET Files directory for only two of the three DLLs (the P...
Gwenn asked 4/3, 2017 at 15:33

5

It seems that Preprocessor Directives (#if DEBUG) and ASP.NET Core Environment Name (IHostingEnvironment.EnvironmentName) both could be used when you want to have different behavior in debug/develo...
Trottier asked 12/2, 2018 at 20:27

2

Solved

How do you strip symbols from an Android .so native code library? I have a .so built that has thousands of symbols clearly visible in a hex editor. IDA Pro automatically disassembles with proper s...
Pisgah asked 31/5, 2018 at 23:56

1

Solved

I've built my binary with: go build -gcflags "$gc_flags" -o ./bin/grafana-server ./pkg/cmd/grafana-server, where $gc_flags is '-N -l'. When I run this file, ./bin/grafana-server, and attach to it ...
Bedside asked 13/4, 2018 at 15:14

1

I have a folder on my server that hosts my nuget packages. These packages do not contain source code or symbols (PDBs). This works well. Recently I have set up another folder on my local server to...
Rod asked 20/4, 2018 at 15:55

2

Solved

Here is my main cmake file: project( reconstructor ) cmake_minimum_required(VERSION 3.1) set(CMAKE_SUPPRESS_REGENERATION true) include(ExternalProject) set(Boost_INCLUDE_DIR c:/boost_1_66_0) set(...
Callisthenics asked 24/3, 2018 at 6:46

2

Solved

The debug point is not getting enabled when this module gets loaded. So I thought of manually loading its debug symbols .pdb file from "Debug/obj" folder. In this case I am getting below error "A ...
Mcauliffe asked 20/9, 2016 at 16:47

2

Solved

I don't even care if they are true "debug" versions, all I really want are the symbol files so that my callstack isn't rendered invalid when I break into the debugger.
Thorp asked 9/12, 2010 at 14:24

2

Solved

Here's what I've tried: Made a new Console App (.NET Framework) in Visual Studio 2017. Added the following code: static void Main(string[] args) { new Dictionary<int, int>().TryGetValue(3...

0

I used to build our dynamic frameworks for internal development using xcodebuild -workspace <workspace_path> build -configuration "Release" now that we are shipping frameworks to 3rd party...
Motorboating asked 5/9, 2017 at 11:9

3

Solved

I am trying to port my Windows Phone 8 app to Windows 10. I am able to build my app. When I try to deploy my app in Release x86 on a Mobile emulator, it fails & gives the following msg: Symb...

0

I noticed that running strip -S -x (remove all debug and all local symbols) on the binaries in my app's 'Frameworks' folder makes them ~25% smaller, even when I have enabled stripping of debug symb...
Pulsate asked 24/8, 2017 at 18:6

2

I have a VB6 project and have enabled it to generate pdb files (this shows how to do that). However I can't debug with them and when I check them with symcheck I get this output: >SYMCHK: MyFil...
Nutt asked 3/2, 2016 at 16:38

2

Solved

I have some compiled libraries i.e. shared library (*.so) on x86 Linux and I want to quickly determine whether they were compiled with debugging symbols (i.e with -g/debug option) or not. How to ch...
Tuyere asked 22/11, 2013 at 13:21

8

Solved

I've just started playing with Xcode 4, and found that, no matter how I setup debugging symbols in the project, Instruments refuses to display source lines for stack trace items that correspond to ...
Lovell asked 11/3, 2011 at 1:34

2

Solved

Suppose I am having this code: int main() { int var1; char *ptr = malloc(5 * sizeof(char)); //........... do_something(); //........... return 0; } We know that the actual memory lay...
Workmanlike asked 22/4, 2011 at 5:42

1

My OS is Arch Linux, and the test.c program is very simple: # cat test.c #include <stdio.h> int main(void) { printf("Hello world!\n"); } Compile it without -g option, and use file comma...
Codfish asked 3/4, 2017 at 9:43

4

Solved

When compiling with -fsanitize=memory I get WARNING: Trying to symbolize code, but external symbolizer is not initialized! when running the program. How do I initialize the external symbolizer?
Euripus asked 10/6, 2014 at 16:1

1

Solved

How to know the name and/or path of the debug symbol file which is linked to a binary executable? Suppose you did like this: objcopy --only-keep-debug foo foo.dbg objcopy --strip-debug foo objcop...
Garnish asked 12/3, 2017 at 16:43

5

I am experimenting an analysis tool that can analyze executable files with embedded debug symbol information in Windows. While trying this tool on several open source projects, I realize that most ...
Iona asked 26/8, 2010 at 16:1

© 2022 - 2024 — McMap. All rights reserved.