Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program

learn more… | top users | synonyms

1
vote
1answer
2k views

How do I start Firefox with debug output at the command line?

Firefox is freezing now and again, and I want to know why. I thought I could get some debug output by starting Firefox with the -g option, but it just comes to some kind of prompt and then stops. ...
1
vote
0answers
96 views

How do I modify the ctime of a file? [duplicate]

Possible Duplicate: How to change “inode change time” of a file? I'm attempting to modify the ctime of a file in Ubuntu 11.04. I have tried: debugfs -w -R 'set_inode_field ...
5
votes
0answers
523 views

File corruption issues from a Samba server to Windows and Mac clients [closed]

I'm running Ubuntu 10.04 Server as a file server. It is on the Windows Active Directory Domain (2008 SBS) and has been working well for several years (migrated to new hardware and upgraded from 8.04 a ...
21
votes
4answers
3k views

Can one pick up a running application from terminal?

Sometime I need to run an application from terminal for debugging. If I am sure the bug will occur short after launching the application, I can run this application from the Terminal. However, bugs ...
2
votes
1answer
249 views

desktop disappears ubuntu 10 after sitting idle

I recently built 2 identical intel i7 Ubuntu 10.04 32 machines and have a problem with my desktop or gnome session disappearing. For example, if I leave the machine sitting at the desktop (actually I ...
1
vote
0answers
253 views

Degrade from Ubuntu 11.04 to 10.04 [duplicate]

Possible Duplicate: How to go from 11.04 to 10.04 I want to degrade my ubuntu from 11.04 to 10.04. After upgrading I am facing series of problems :( . Its sometime logged out automatically. ...
27
votes
2answers
19k views

after upgrade gdb won't attach to process

I just recently upgraded from 10.04 to 11.04 and gdb won't allow me to attach to processes anymore I get the error Attaching to process 10144 Could not attach to process. If your uid matches ...
6
votes
2answers
861 views

How do I rebuild a package to include debugging information?

I want to rebuild a package to include debugging symbols, how would I do that? There is no -dbg package available and also no -dbgsym package from the ddebs repository.
4
votes
1answer
144 views

ddebs missing for hardy?

I'm trying to debug some crashes on a 8.04 LTS server, but the ddebs repository at http://ddebs.ubuntu.com/dists/ no longer has a directory for hardy... Any ideas where the debug symbols for hardy ...
4
votes
2answers
925 views

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.
3
votes
1answer
200 views

best visual debugger for kernel

I have managed to get a user-mode-linux kernel compiled. Now I can debug a kernel as a regular user process and track how it works. This I can do using gdb but I'm much more used to visual debuggers ...
23
votes
2answers
27k views

how to debug upstart scripts?

For some reason I'm getting an error during apport upgrades, the cause of which is % sudo service apport start start: Job failed to start Under sysvinit, I could debug this kind of problem by ...
3
votes
1answer
280 views

How can I debug panel applets?

So I've got an issue with Natty's Gnome 2 panels. Short story: most of the panel applets are either missing or crashing out. Something's unhappy and I can't work out what or why. So how do you get ...
1
vote
1answer
74 views

Getting specific firefox source snapshots for installed firefox in lucid(or whichever)

I can get LATEST snapshots with bzr no problem. What I am trying to do is get source snapshots for the installed version of firefox on ubuntu distribution whatever. I googled around a bit and it all ...
2
votes
3answers
2k views

What PHP & Xdebug based Editors do people use other than Eclipse, Netbeans (anything java based) or VIM

What editor do people here use in linux? I want Xdebug support but I don't want something java based (eclipse, netbeans, etc) nor do I really want to use VIM. Any native GTK based editor/sdk that ...
5
votes
2answers
1k views

strlen returns incorrect value when called in gdb

So I'm noticing some severely incorrect behavior from calls to standard library functions inside GDB. I have the following program to illustrate: #include <stdio.h> #include <stdlib.h> ...
4
votes
1answer
194 views

How to troubleshoot a wireless networking regression?

I've been experiencing this perhaps slightly odd bug. It works flawlessly in Lucid, but not in Maverick and Natty. I find it seems to work when I'm booting a partition everyday (as I do for my main ...
90
votes
9answers
40k views

There's an issue with an Alpha/Beta Release of Ubuntu, what should I do?

I've been running Alpha releases of Ubuntu for some time now. I keep running into issues - how can I get these resolved? What should I do when I encounter these problems? And where can I find other ...
6
votes
3answers
5k views

How can I install Insight debugger?

I am following along a book in which Insight debugger is required. I didn't find it on my Maverick. I googled and I found that it's not supported in debian anymore but I really need to install it. I ...
118
votes
8answers
28k views

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: ...
8
votes
1answer
844 views

How to determine what happened and locate the problem when my system freezes?

Hello I had some freezes with my desktop. It is Lucid 10.04 on a Lenovo 3000 N200. System freezes completely. How can I locate the problem?
4
votes
1answer
5k views

Debugging php with gdb

I am attempting to debug a SIGSEGV on PHP on my Ubuntu 9.10. I've installed php5-dbg to have the debug symbols available, however, when I start gdb, it shows the following output: Reading symbols ...
2
votes
2answers
114 views

Print numbered arguments in Command Line Tool

Is there a packaged program that shows command line arguments? I often find it helpful to have users run this type of program to either help them understand what their shell commands do, or to get ...
4
votes
1answer
617 views

Profiling stock Ubuntu kernel with sysprof: how?

There are various system-wide debug tools (sysprof, oprofile, systemtap) that need debug symbols. Getting debug symbols for userspace applications is easy: ...