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

learn more… | top users | synonyms

108
votes
8answers
23k 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: ...
85
votes
9answers
39k 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 ...
5
votes
1answer
1k views

How can I debug my wireless problem?

How can I get started with debugging my wireless problem? How can I tell whether or not Linux has recognized my wireless hardware at all? What are the main programs/daemons associated with wireless ...
0
votes
1answer
92 views

How to upgrade or downgrade the Kernel in Ubuntu (to any stable or testing release)

When I report a bug I may be asked to "try out the latest upstream Kernel", how do I do that? I see a lot of version specific answers to this question here on ask ubuntu, what are the general ...
8
votes
1answer
809 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?
5
votes
1answer
3k views

Receiving error while trying to debug in QtProject

I installed the latest version of the QtProject so now I can debug C++ code. While trying to debug for the first time I got this error: ptrace: Operation not permitted. Could not attach to the ...
17
votes
2answers
17k 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 ...
6
votes
2answers
668 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.
6
votes
3answers
1k views

Ubuntu 12.04 froze, requiring powercycle. What should I look / grep for in the logs?

This is not the first time that Ubuntu has froze. Last time, I checked 'recently updated files' in /var/log/ and /var/crash/ and the cause of the problem appeared to be 'LibreOffice'. Now, it has ...
2
votes
2answers
184 views

Juju debug-hooks, how to run hook in debug terminal or get more information?

I'm having trouble deploying the Havana Openstack charms on precise for cinder, nova-cloud-controller, and quantum-gateway. I'm using MaaS running Virsh managed KVM machines. I'm getting errors with ...
21
votes
4answers
2k 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 ...
21
votes
1answer
14k 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 ...
5
votes
2answers
3k views

Asking all remaining processes to terminate… fail

Ubuntu 12.10 64 bits with Unity. When I restart or shutdown the PC, it takes too long to do it. It shows the line Asking all remaining processes to terminate... [fail] and after Killing all remaining ...
5
votes
1answer
11k views

How to install flash player 11 debug on Ubuntu 12.04?

I had hard time to figure this out, but I did it finally and I'm going to post an answer to my own question for others.
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 ...
2
votes
1answer
461 views

How can I know the usb port?

I'm working on a project with an ATmega1280 (Atmel) board. I want to take a look at the stack, so I'm trying to do an OCD (On Chip Debugging). In the tutorial is written: Use this AVRDUDE command ...
2
votes
1answer
141 views

unity components debugging

Following up on my question here, I would like to ask about best-practices for debugging additions to the unity components. Integrating apps into unity requires many components: service files, ...
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 ...
1
vote
0answers
150 views

Can't use RStudio any more after trying to set up an ODBC connection to a postgreSQL database

I tried to Setup an odbc connection from R to my PostgreSQL database located on a server (package RODBC). When trying to connect the connection failed because I entered a wrong Username in the DSN ...
1
vote
1answer
463 views

Is there tool to see call-stack of running thread similar to Process Explorer by Sysinternals?

Is there tool to see call-stack of running thread similar to Process Explorer by Sysinternals ? So far I tried htop, qps and Linux Process Explorer. None of them can provide that information. ...
1
vote
2answers
108 views

What is debugging and how do I get involved?

Well what is it? And how do I get involved?
0
votes
5answers
2k views

What can I do when Ubuntu freezes for some unknown mysterious reasons?

I'm using Ubuntu 12.04 but of some unknown reason sometime Ubuntu get stuck, no motion what so ever. If i try to move a mouse it doesn't respond and same thing with the keyboard. I hope at least some ...