This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:mgardne8:portfolio:debug [2014/10/02 17:38] – mgardne8 | user:mgardne8:portfolio:debug [2014/10/07 13:01] (current) – mgardne8 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | {{ : | ||
====== Debugging with GDB ====== | ====== Debugging with GDB ====== | ||
- | ====== 2 ===== | + | de·bug |
- | ==== a ==== | + | |
- | ==== b ==== | + | /dēˈbəɡ/ |
- | ====== 3 ===== | + | |
- | ==== a ===== | + | verb |
- | ===z=== | + | identify and remove errors from (a computer program). |
- | ==n== | + | [(http:// |
- | =1= | + | |
- | ===y=== | + | {{: |
- | ==m== | + | |
- | =2= | + | |
- | ==== b ===== | + | |
- | ====== 4 ===== | + | |
???What is GDB? | ???What is GDB? | ||
!!!GDB, the GNU Project debugger, allows you to see what is going on `inside' | !!!GDB, the GNU Project debugger, allows you to see what is going on `inside' | ||
Line 28: | Line 22: | ||
Before a bug can be fixed, the source of the bug must be located. For example, with segmentation faults, it is useful to know on which line of code the seg fault is occuring. Once the line of code in question has been found, it is useful to know about the values in that method, who called the method, and why (specifically) the error is occuring. Using a debugger makes finding all of this information very simple.[(http:// | Before a bug can be fixed, the source of the bug must be located. For example, with segmentation faults, it is useful to know on which line of code the seg fault is occuring. Once the line of code in question has been found, it is useful to know about the values in that method, who called the method, and why (specifically) the error is occuring. Using a debugger makes finding all of this information very simple.[(http:// | ||
+ | |||
+ | ====== 2 ===== | ||
+ | ==== a ==== | ||
+ | ==== b ==== | ||
+ | ====== 3 ===== | ||
+ | ==== a ===== | ||
+ | ==== b ===== | ||
+ | ====== 4 ===== | ||
+ | |||
+ | |||
~~REFNOTES~~ | ~~REFNOTES~~ |