Anonymous user
Breakpoint: Difference between revisions
no edit summary
>Torchickens No edit summary |
>Torchickens No edit summary |
||
Line 1:
A '''breakpoint''' is a state in the flow of program code at which a specific address is read, written to, jumped to, or run. For a Game Boy system, it is an allocation of anywhere within the [http://gameboy.mongenel.com/dmg/asmmemmap.html Game Boy memory areas] ($0000-FFFF) referred to as a two byte pointer. Sometimes, these pointers are banked and referred to as a three byte pointer (meaning that the same pointer can represent a different location in memory); so the breakpoint may be represented in form (Bank):(Pointer).
When debugging, it can be useful to set a breakpoint to analyse a specific part of the programming code (known as a subroutine); like the hardware registers at that point, what the code reads, and to find out what the code does in terms of the memory.
|