In the Tools > Developer menu are several options for helping the debug process. Only the first two are remembered, and the others are reset on power-off.
A list of all currently installed cores, sorted alphabetically. If a core folder exists, it will be shown here, even if its platform association is broken or missing. When a core appears here but not in the openFPGA menu, make sure that its platform shortname matches an existing platform JSON and that this JSON has valid syntax.
When enabled, plugging in a USB-C cable to a computer or phone will mount Pocket’s SD card onto the host system. Small files can be read/transferred. While there isn’t actually any limit enforced on file size, because the speed is very slow (about 700KB/sec) it isn’t recommended for large files. Unplug the cable or press B to unmount the card and return to the menu.
Since 2.1, there is now a global hotkey to soft-attach and soft-detach the USB cable: Press Analogue + X to attach, Analogue + Y to detach. The hotkeys work anywhere in the menu.
Displays an information overlay at the top right of the screen when running any core.
When enabled, APF will halt immediately after loading the FPGA bitstream. Press A to continue with APF host command handling and core bringup. Has no effect when Chip32 is run.
When enabled, APF will halt immediately before loading any data slots. Can be used to arm a SignalTap trigger on the FPGA to troubleshoot data loads. Press A to continue. Has no effect when Chip32 is run.
Displays information about which file and data slot is being loaded. Files smaller than 512KB may not be visible.
When enabled, produces a detailed text log file on the SD card (/System/Logs/) as the boot process proceeds. If Chip32 is used, some opcodes (namely file access) will also appear.
When enabled along with Debug Logging, additionally prints out every instruction executed by the Chip32 VM interspersed into the rest of the log. May drastically slow down boot process in programs with long cycle counts.
In situations where Pocket can not be powered off normally - Remove the Pocket from the Dock (if docked). Press and hold the power button for 5 seconds to force power-off. Any changes or savegames in progress will be lost.
If Chip32 gets hung, stuck in an infinite loop, or simply takes too long to execute, press and hold B to cancel execution.