Hand Tracing
Page 63
Programming Logic and Design by Tony Gladdis
Profiling is about executing a program and finding out how much time it spends in each routine. The goal of profiling is often finding slow routines in a program and optimizing them. Profiling is done on working code. Debugging is about finding code that is not working, i.e. has some kind of defect. The program is known to have a defect because some set of inputs causes a set of outputs that are known to be wrong. Debugging is the process of finding the source of the defect in the code and fixing that location and any other downstream locations so that the set of inputs is correctly rendered into the set of outputs.
Programming is the process of creating code. Debugging is the process of fixing problems in existing code.
debugging
When an interrupt occurs for which the process was waiting the OS should start executing the process. If the process isn't waiting for anything and there isn't anything for it to do, it might not start executing. Many processes in LINUX use a send/receive/reply IPC protocol. If the process is waiting for an IPC message from something else and has no timeout associated with the wait, it could effectively wait forever. In general, that's considered an error in programming.
central processing unit(cpu)
Debugging
Troubleshooting. Debugging.
none of these
Profiling is about executing a program and finding out how much time it spends in each routine. The goal of profiling is often finding slow routines in a program and optimizing them. Profiling is done on working code. Debugging is about finding code that is not working, i.e. has some kind of defect. The program is known to have a defect because some set of inputs causes a set of outputs that are known to be wrong. Debugging is the process of finding the source of the defect in the code and fixing that location and any other downstream locations so that the set of inputs is correctly rendered into the set of outputs.
Programming is the process of creating code. Debugging is the process of fixing problems in existing code.
The executing process group overlaps... Activity in the executing process group starts off slowly...
Debugging as a formal practice is often attributed to computer scientist Grace Hopper, who popularized the term in the 1940s. The story goes that her team found a moth causing a malfunction in a computer, leading to the phrase "debugging" to describe the process of fixing issues. However, the concept of identifying and resolving errors in systems predates this incident, as troubleshooting has existed in various forms long before computers.
Programming is the process of creating code. Debugging is the process of fixing problems in existing code.
the microprocessor, also called the processor or the central processing unit (CPU)
Debugging.
Activity in the Executing process group starts off slowly, at teh very beginning of the project life cycle THe Executing process group overlaps all the other process groups
Throughout the debugging process, you run the code step-by-step to find which part or which line is responsible for producing the bug.