On 18 Mar 2010 at 19:33, Tony Duell wrote:
And a logic analyser will tell you different things to
a breakpoint.
OK, at a breakpoint (if the debugging hardware is designed sensibly),
you can exame CPU registers, etc. But it woun't necessarily tell you
how the code got to the breakpoint. A logic analyser will/
Hardly! Maybe on vintage CPUs, but not on anything made in the last
20 years. Caching, prefetch queues, scheduling hardware and
integrated peripherals make a logic analyzer of marginal use in
debugging program flow.
Times have changed and so have methods. For example, simulation is
used a lot more than it used to be for designs, as is on-chip
debugging support.
--Chuck