debug-information Questions

2

Solved

I'm trying to profile with perf on Ubuntu 20.04, but the problem is that many functions do not appear in it (likely because they are inlined), or only their addresses appear (without names etc.). I...
Erdei asked 3/12, 2021 at 11:44

1

Solved

Stripping debug info in the release profile reduces my crate's binary size by a third (from 1.9 MB to 1.3 MB). This is what I added: [profile.release] strip = true # or strip = "symbols" ...
Mcphail asked 6/9, 2022 at 23:3

4

Solved

There seem to be a .CFI directive after every line and also there are wide varieties of these ex.,.cfi_startproc , .cfi_endproc etc.. more here. .file "temp.c" .text .globl main .type ...

1

I'm using valgrind to try and locate the cause of a violating memory access in a C-cum-C++ program. Even with this access averted (i.e. when everything runs fine), valgrind tells me: ==11436== Mem...
Deenadeenya asked 16/2, 2018 at 16:46

3

Solved

(This is a question about gcc and clang, but might apply to other compilers.) If I compile my C or C++ code, and generate debug info using the -g switch, does this in itself degrade performa...
Lockout asked 30/8, 2016 at 8:42

3

Solved

I started a blank project in Visual Studio 2010 to write a C application. How can I send debug information to the Output window (menu Debug -> Windows -> Output )? Is there a relatively simple way ...
Zicarelli asked 2/3, 2012 at 21:26

1

I need to get the information about global variables from a compiled c program. I asked a similar question in here. The problem that I have now is that the program where I am trying to extract the...
Superintend asked 14/6, 2012 at 19:15

3

Solved

I am an intermediate C programmer who is learning his way around. I recently learned using GDB (forced to actually) and also am doing some code using Ptrace. I was browsing through some code on ptr...
Declaration asked 29/3, 2012 at 6:6

1

Solved

Is there any tool that can remove debug info from Java .class files, just like /usr/bin/strip can from C/C++ object files on Linux? EDIT: I liked both Thilo's and Peter Mmm's answers: Peter's was ...
Moser asked 10/3, 2011 at 9:57

4

Solved

I'm currently working on adding exceptions and exception handling to my OSS application. Exceptions have been the general idea from the start, but I wanted to find a good exception framework and in...
Skycap asked 26/12, 2009 at 21:55
1

© 2022 - 2025 — McMap. All rights reserved.