On 2008-01-19, Oleg Verych <[email protected]> wrote:

>== My POV about debugging.
>
> As far as i can see, there's documentation about JTAG and
> stuff. There is no info about breakpoints (code steps, etc.).
>
> While i don't do software development for food, i also don't
> use debuggers at all. If i don't have result i want, i try to
> look hard in source, to figure out crap i've done.

I do software for food, but I very rarely use debuggers.  

I find that for real-time stuff they just don't help much
unless they have configurable full-speed trace buffers (which
is pretty rare on low-end JTAG parts like the '430).

Looking at the code and thinking is usually the best/fastest
way to find problems (sometimes aided by the insertion of a few
lines of code to toggle a spare port pin in key places).

Debuggers are OK to do an inteteractively examine memory once
you've stopped execution, but I find things like
single-stepping are pretty much useless: once you've stopped
execution, you're done. You can't stop time from passing for
all of the perpherial parts, so the system is dead.

-- 
Grant Edwards                   grante             Yow!  While I'm in
                                  at               LEVITTOWN I thought I'd
                               visi.com            like to see the NUCLEAR
                                                   FAMILY!!


Reply via email to