![]() ![]() Labels can be used to simplify debugging. To break when the CPU writes the value $60 to any address: IsWrite & Value = $60 To break when the value at memory address $10 is smaller or equal to $40: <= $40 To break when the sum of the X and Y registers is 5: x + y = 5 This enables the breakpoint - if this is disabled, the execution will not break when the breakpoint is hit. This can be used to add marks to the event viewer based on a variety of conditions by using conditional breakpoints. When enabled, a mark will be visible on the Event Viewer whenever this breakpoint’s conditions are met. ![]() When disabled, the debugger will never break on a dummy read or write for this breakpoint. When enabled, the breakpoint will be processed for dummy reads and writes (only available for read or write breakpoints). It is also possible to specify no address at all by selecting Any - in this case, breakpoints will be evaluated on every CPU cycle.Ĭonditions allow you to use the same expression syntax as the one used in the Watch Window to cause a breakpoint to trigger under specific conditions. Select which address or address range this breakpoint should apply to. Select which types of accesses (read, write or execute) should trigger the breakpoint. The valid range of addresses for the breakpoint will vary based on the selected memory type. Select the type of memory for which you want to set a breakpoint. This syntax can also be used with labelsīreakpoints can be set to trigger based on CPU/PPU memory accesses at specific memory addresses. e.g: //This will display the values of addresses $30 to $3F The watch window allows you display several consecutive memory values on the same row using a special syntax. | ( << 8), H2 //Display the value of the 2-byte variable stored at $14 in hexadecimal format.Īny label defined in the debugger can be used in watch expressions (their value will match the label’s address in CPU memory).įor example, if you have a label called “velocity” that points to 1-byte value at address $30 in the CPU’s memory, you can display its value in the watch using the following syntax:
0 Comments
Leave a Reply. |