Skip to main content

Introdunction

Debugging is an important aspect of IT.
We have to remember to follow the important 6 steps for debugging a problem:

1. The first step is to check that the error is reproducible.
2. Be sure that you know exactly what the problem is.
3. Check all of the “obvious” error sources.
4. Apply basic strategy of debugging:
Isolate the problem by dividing the operation into those parts that are working and those that are not.
"The best approach is to step through the process from BEGINNING TO END, comparing what should be happening with what is happening."
5. When you reach a dead end in debugging, it's time to reassess your info.
Question where wrongful assumptions/conclusions could have been made.
Carefully walk through process again.
Locating the bug can be a hard process.
Locating takes experimentation
6.Walk through process making sure all functions that should be happening are happening.
These 6 steps are very important to follow when debugging a problem on the computer. There is a difference between debugging and troubleshooting.
Troubleshooting: solving a problem, basically an end product of fixing a problem.
AND
Debugging: is the process/steps to solve the problem, such as: removing an error on the computer.
Example: A teacher is having a hard time starting the computer. By following the steps ask the teacher is he/she has the computer plugged in. It so happens that the computer was not plugged in. The process that the IT person took was the debugging process.
Troubleshooting: Figuring out the computer was not plugged in. The final product.

Dump Analysis

What is Dump?
A dump is a snapshot of an application at the point in time the dump is taken. It shows what was executing, what modules are loaded, and if saved with heap contains a snapshot of what was in the application’s memory at that point in time making a dump with heap potentially more useful for diagnosing an issue.

Short info on DUMP file.
- Static snapshot of application at any time.
- Its Binary formatted
- file extension is .DMP stands for DuMP.
- Contents Process, Thread, Stack, CallStack, Handles, Modules.

How to collect Dumps:
- Process Explorer
- Task Manager
- ProcDump
- Debug Diag tools

This site is in progress

Comments