Re: [hatari-devel] debugger, exceptions |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On maanantai 15 huhtikuu 2013, Douglas Little wrote:
> > If one just wants to see what caused them, one could use:
> > history on
> > lock history
Use e.g. "lock history 16" to see last 16 instructions whenever
you drop to debugger.
> > b pc=($8) :trace
Sorry, locking doesn't (intentionally) work with tracing breakpoints,
only with normal breakpoints that drop you into debugger. I.e. you
need to leave ":trace" out.
> > continue
> >
> > To see N instructions preceeding calling PC address given at $8.
>
> That's great - thanks.
If you have debugging symbols, "trace cpu_symbols" can also be
pretty useful.
- Eero