|
|
|
@ -8,7 +8,7 @@ _bad_ you should never use them. Debuggers have their use, but every time I
|
|
|
|
|
had to use one, it was because there was something missing. |
|
|
|
|
|
|
|
|
|
Most recently, using a framework in Java, I had problems with my code. I'd |
|
|
|
|
expect it [to crash](./crash-it) 'cause I didn't handle |
|
|
|
|
expect it [to crash](../coding/crash-it.md) 'cause I didn't handle |
|
|
|
|
things. What actually happened is that the framework silently hid the error |
|
|
|
|
and restarted the processing. To find out what was happening, I had to attach |
|
|
|
|
a debugger and see what was wrong with the data; otherwise, I'd have no idea |
|
|
|
@ -22,7 +22,7 @@ in fact, was _forced_ to use a debugger.
|
|
|
|
|
Besides this, in the long run, you'd end up with problems in locations that |
|
|
|
|
you can't attach a debugger -- for example, your production environment. You |
|
|
|
|
_could_ but you _shouldn't_ do this. On the other hand, if you [log |
|
|
|
|
events](./log-events), then you can see what was going |
|
|
|
|
events](../running/log-events.md), then you can see what was going |
|
|
|
|
on, without a debugger. |
|
|
|
|
|
|
|
|
|
Again, I'm not taking the merits of debuggers, but in the long run, they are |
|
|
|
|