nn::dbg::CTR::ExceptionScreen Classclass ExceptionScreen
Class for displaying when there are CPU exceptions.
・ Displays messages to the screen using DirectPrint when exceptions occur.
・ If the message cannot fit on the screen, it is scrolled automatically so it is displayed in its entirety.
・ After the auto-scrolling has ended, you can use Up/Down on the +Control Pad to scroll the screen.
This class provides an easy way of parsing stack traces. Note that addresses that are not function calls might be included in the display.
We recommend use with nn::os::ManagedThread.If an exception comes about on a thread that is not nn::os::ManagedThread, ExceptionScreen moves toward the base of the stack from the location where the exception was generated and parses the stack in the 16 KB range. If the range at this time has exceeded the valid memory region, there might be an abort.
| S | Create | Generates ExceptionScreen and registers to exception handler. |
|---|---|---|
| S | GetDirectPrint | Gets an instance of the DirectPrint class. |
| S | SetBuildInfo | Sets information such as the build date and time and the revision number. |
| S | SetSuffix | Sets suffix information. |
| S | HandleException | Performs processing when there is an exception. |
| S | PutBackTraceString | Generates a back-trace for the current thread. |
ManagedThread. CONFIDENTIAL