[hatari-devel] Debugger usage examples?

Nicolas Pomarède npomarede at corp.free.fr
Sat Jun 11 00:17:27 CEST 2011


Le 11/06/2011 00:07, Eero Tamminen a écrit :
> Hi,
>
> Miro asked about debugger usage examples to be added
> to the Manual.  I came up with these simple ones:
>
> 1. stopping on program startup
> 2. disassembling from PC
>    2.1 and showing BSS content
> 3. single stepping
>    3.1 with e.g. regs shown after each step
> 4. setting breakpoint on register value change
>    4.1 so that instructions leading to it are show
>        when the breakpoint is hit
>    4.2 without stopping
> 5. listing stack contents
>     5.1 that being shown whenever one enters the debugger
> 6. tracing all OS calls between two breakpoints
>
> Any others?
>

- Setting breakpoint where register has a specific values
- Setting breakpoint where memory B/W/L has a specific values
   (with memory being a RAM location or an IO location (detect freq 
change in ff820a for example))
- Setting breakpoint on a specific screen position using 
VBL/HBL/linecycle counter
- Setting a simple PC breakpoint that triggers after 'n' times

Nicolas



More information about the hatari-devel mailing list