|
1 |
| -# Web Debugging Checklist |
| 1 | +## Web Debugging Checklist |
2 | 2 |
|
3 |
| - 1. Blame yourself. |
| 3 | + 1. **Blame yourself.** |
4 | 4 | * In debugging, having an ego will only cause you to work longer and harder to solve a bug. Be humble; accept your humanity. Make 100% sure that the way you're attacking a problem is _actually_ isolating the problem.
|
5 |
| - 2. Blame your tools. |
| 5 | + 2. **Blame your tools.** |
6 | 6 | * Have you got cache enabled? Are you working in IE6? Try to ensure that your tools aren't giving you false-positives or false-negatives. Use an HTTP proxy like [Charles Proxy](http://www.charlesproxy.com/) to debug HTTP requests.
|
7 |
| - 3. Blame your framework. |
| 7 | + 3. **Blame your framework.** |
8 | 8 | * Are you working with a framework or library of some kind?
|
9 | 9 | * Are you sure it's not manipulating the results or getting in your way?
|
10 |
| - 4. Blame your environment. |
| 10 | + 4. **Blame your environment.** |
11 | 11 | * Is your server configured the way you need it to be?
|
12 | 12 | * Are you running the write version of the software you need?
|
13 | 13 | * Could another piece of software be getting in the way?
|
14 | 14 | * Be sure to disable any caching technologies to ensure you're always looking at the most recent data, and that your _actual_ code is executing every time (not some cached version).
|
15 | 15 | * Have you tried turning it off & on again? =)
|
16 |
| - 5. Blame your language. |
| 16 | + 5. **Blame your language.** |
17 | 17 | * Is the code you're debugging very complex or novel? Maybe it's a bug (highly unlikely)
|
18 | 18 | * Always break the problem down into as small a piece as you can - it's probably you
|
19 |
| - 6. Blame the world. |
| 19 | + 6. **Blame the world.** |
20 | 20 | * Have you tried logging a bug?
|
21 | 21 | * Have you tried asking a question on [Stack Overflow](http://stackoverflow.com)?
|
22 | 22 | * Have you asked a friend? Sometimes speaking the problem out loud can give you insight into the problem at hand.
|
23 | 23 |
|
| 24 | +--- |
| 25 | + |
24 | 26 | ## General Considerations ##
|
25 | 27 |
|
26 | 28 | * **ALWAYS** check your premises. Assuming makes you an ass.
|
|
0 commit comments