Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program
Questions tagged [debugging]
247 questions
186
votes
8 answers
I have a hardware detection problem, what logs do I need to look into?
I am trying to ask a question about getting my hardware to work but I don't know what information to add to my question to get help, what do I need to do?
Related if you don't have access to a GUI:
How do I get information from the logs on my…

Jorge Castro
- 71,754
11
votes
4 answers
How to install debug symbols for installed packages?
I try to watch how programs work by running them by the 'Qt Creator' debugger. For better orientation I'd like to see also the system (core) utilities fully in the call stack window as I am used from the MS Visual Studio 6.0, not only to see their…

Tomáš Pečený
- 1,407
- 7
- 19
- 45
10
votes
4 answers
Is there any interactive or more user-friendly version of GDB for debugging?
Is there any interactive or more user-friendly version (or substitution) of GDB for debugging?
Some people suggested CGDB, but after a few tests I found it buggy and unstable.

xzhu
- 327
3
votes
1 answer
How can I view a core dump on Ubuntu 18.04?
I have a program which is aborting and I want to view a core dump. I am using addresssanitizer which is causing the abort when it hits a heap overflow. I have done the following:
sudo sysctl -w kernel.core_pattern=core.%u.%p.%t
ulimit -c…

the_endian
- 205
2
votes
1 answer
How to investigate display lockup after Alt-Tab switching?
Running Kubuntu 12.10 on a Dell Latitude E6500 running the free NVIDIA driver for my display. If I hit alt-tab to switch between windows too fast the display locks up and the only way I can unlock it is restart the machine, either hard power the…

jjesse
- 1,117
2
votes
2 answers
Find which program caused a core dump file
I've been going through intense program/package installation recently, so I can't tell for sure which of the newly installed programs (or old programs) caused the appearance of a core file in my home folder. It's a server, so I better find out any…

Desmond Hume
- 656
2
votes
0 answers
error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory
error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory
While i tried to debug the project in eclipse, it shows the above error. please guide me how to do debugging in eclipse without the…

Farman N
- 21
- 1
- 2
1
vote
1 answer
How do I find core files for my own code in Ubuntu 20.04?
in this question
The following things are suggested:
ulimit -c unlimited
ulimit -a
to set the limit to something other than zero. It was previously 0 on my system.
No core files after segfault.
So,
sudo systemctl enable apport.service (though this…

Josh Vander Hook
- 169
0
votes
1 answer
Bug in system information script 'inxi' - displaying folder content instead of info
I just ran inxi -m (version 2.2.16-0ubuntu1 on Ubuntu 15.10 64-bit), which should...
-M Show machine data. Motherboard, Bios, and if present, System Builder (Like Lenovo). Older systems/kernels without
the required /sys data can use…

Byte Commander
- 107,489
0
votes
1 answer
Ubuntu 14.04 image preview never loads
After updating to 14.04 my image preview never shows up
Is this common to update? Maybe it is related to my image viewer? Can I replace the default one or if its nautilus fault, what replacement would you suggest?

CBeTJlu4ok
- 25
0
votes
1 answer
system crash reason
One of our server recently get frequently crash....I am pasting some of the syslog here, anyone familar with system would give me a hint what caused this? Much appreciated.
I am using Ubuntu 12.10.
Sep 26 12:45:22 epgg2 kernel: [ 183.799965] Pid:…

dli
- 153
0
votes
1 answer
Problem with jdb debugger
I am trying to use Ubuntu 12.04 lts on a system76 box.
when I try to run the java debugger, jdb, i get a timeout after i attempt to run the application. i have tried several things and I think the problem has to do with the /etc/hosts file.
my call…

ron kita
- 1
0
votes
1 answer
How do you add debugging information to an executable .out file?
In a Linux system, I used the terminal to create an executable file of a .c file.
However, I now require to add debugging information to said executable file.
Any way to help me out here? Thanks.