Skip to main content

Native Application Development

Debugging on physical hardware can be tedious and time consuming. The emulator exposes a few debugging values that can help test how an application responds to console identity data.

Debugging​

Developer-only settings

These controls are intended for application development and testing, not as a substitute for data from a physical console.

Key files​

The current Qt Debugging settings do not provide a custom key-file prefix. The key manager selects prod.keys or dev.keys (and their autogenerated variants) from the emulator's keys directory according to the Use Dev Keys setting. It also loads title.keys and console.keys.

Serial values​

In the Qt app, the Battery Serial and Unit Serial fields set numeric debug inputs for the battery lot and console serial returned by system settings. The emulator constructs the returned values from these inputs rather than accepting a complete serial string. The unit serial includes a region-dependent character, and the battery value is used to construct a battery lot identifier. A value of zero is replaced with a generated value during settings generation.