|
|
|
|
|
by bsder
586 days ago
|
|
On embedded, debuggers almost never work until you get to really expensive ones. In addition, debuggers tend to obscure the failure because they turn on all the hardware which tends to make bugs go away if they are related to power modes. One of my "best" debuggers for embedded was putting an interactive interpreter over a serial interface on an interrupt so I could query the state of things when a device woke up even if it was hung--effectively a run time injectable "printf". Crude, but it could trace down obscure bugs that were rare because the device would stay in the failure mode. The bigeest problem was maintaining the database of code so that we knew exactly what build was on a device. We had to hash and track the universe. |
|