# Debug View

Minicube64 has a debug view that can be toggled easily by pressing tab.

![](https://1901532303-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYlgFz1gOz3pvCbWdEb%2F-MbQwLBhq7Umq-8Yhjse%2F-MbQxYJtnAgCnYCN1CXk%2FScreenshot%202021-06-05%20at%2011.36.25.png?alt=media\&token=c636112d-6875-47ac-88c2-0ac1e61ee8dc)

It displays the state of the program updating in realtime, so you can see what it is doing and can help identify any problems.

The top right is a window that shows the main output of the program.

Across the top indicates the state of the various registers, from left to right:

| Name                           | Showing  |
| ------------------------------ | -------- |
| Current program counter        | `0x021D` |
| Stack pounter \[SP]            | `0xFF`   |
| Accumulator \[A]               | `0x00`   |
| X register                     | `0x40`   |
| Y register                     | `0x1F`   |
| `VIDEO` register \[VP]         | `0x02`   |
| `INPUT` Controller input \[P1] | `0x00`   |

Down the left side is the currently executing code as it appears to the emulator.

The middle right square represents the 256 bytes of the zero-page. Here you should see what any active values are doing.

{% hint style="info" %}
For readability any values in zero-page that are `0x00` are currently shown as `--`
{% endhint %}

{% hint style="danger" %}
Processor flags are not currently visible in debug view.
{% endhint %}
