The debugging tag has no wiki summary.
0
votes
2answers
62 views
How to detect a possible hardware error?
I'm running Debian Wheezy on a HP Pavilion dv7 laptop and it freezes every now and then, requiring a reboot. One time it didn't even load the operating system, but it wasn't I who was using it so I ...
0
votes
1answer
50 views
Best practices for attaching debug symbols to system libraries during development?
I'm at a stage in a project where it would be really handy to have a debug version of a system package installed. On Ubuntu at least, adding the debug symbols to a library is a piece of cake. ...
5
votes
1answer
88 views
Debugging lock-up - systemd loses my logs
Ever since I have "upgraded" to systemd on Arch Linux, I keep losing logs when an unexpected lockup happens. I hit the same log-losing issue one month ago and just hit the issue again. There are also ...
1
vote
1answer
103 views
Killed `rm` and `cp` on nfs share
I am just testing an rsnapshot installation on my laptop which should backup to a NAS mounted via nfs on my laptop.
On one test rsnapshot died with a cp -al problem (i.e. a problem with hard links) ...
1
vote
1answer
115 views
How to avoid overflowing the kernel printk ring buffer?
I'm trying to debug a linux driver and a particular piece of code is behaving very strangely. In order to see what's going on I've filled the code with printk statements so I can see exactly what the ...
2
votes
0answers
37 views
kgdb not returning control to gdb
I've compiled a kernel with kgdb support and I'm trying to debug it. I have two machines running, a debug machine (running the kgdb kernel) and the machine I'm using to debug it. They are connected ...
2
votes
1answer
325 views
Kernel and QEMU : Unable to mount root fs error
I am trying to run a distro in the virtual disk image with a custom kernel,so that I can experiment and debug the kernel. I followed this to make a disk image and then install Debian to it. Now I ...
2
votes
1answer
278 views
Debugging Linux Kernel with QEMU
I was trying to study the debugging of kernel using QEMU. I tried initially and failed due to the fact that there was no virtual file system. The answers to this post suggests that there should be a ...
0
votes
0answers
37 views
Cannot set breakpoints on idlwave (emacs)
I am using idlwave on emacs. I can't set breakpoints, the message is
Wrong type argument: consp, nil.
I am using Emacs 23.1.1, idlwave v6.1_em22 and IDL 8.0.1
Does anybody have a clue?
0
votes
0answers
58 views
Linux, Debugger program development
We are trying to implement the debugger program which will takes either PID or Program name as input and Invoke the gdb by using PID. Below is two small programs are written, Not able to figure out ...
4
votes
3answers
152 views
bash: escape individual lines from `-x` echoing
In bash, when running with the -x option, is it possible to exempt individual commands from echoing?
I'm trying to make the output as neat as possible, so I am running certain parts of my script in a ...
3
votes
2answers
166 views
Shell script debugging
I was wondering if there is an IDE that would allow me to define an ssh connection to a remote host, connect, and locally debug a script running remotely (kind of like you can debug a remote Java app ...
1
vote
1answer
244 views
How do I fix a noisy input device (Internal Mic)? snd_hda_intel - debug included
As the title says, I'm having trouble with a very noisy audio input device - the internal mic or any plugged in mics.
So far I've narrowed it down to an problem in ALSA since my debug info is showing ...
1
vote
1answer
63 views
Is there any way to attach latrace to an already-running process?
I want to trace a running multi-threaded process's library calls. As of 5 November 2012, there's only one way to get ltrace to fully support tracing multi-threaded processes: you must check out and ...
2
votes
1answer
406 views
How to debug csh scripts?
My lab uses csh scripts to run jobs. It is usually difficult for me to debug a shell script, so I'm wondering if there is a csh debugger I can use.
I know there are some flags like -x or -v that can ...