nn::dbg::Break Function

Syntax

#include <nn/dbg.h>

nn::Result Break(
     nn::dbg::BreakReason reason
);

nn::Result Break();

List of Overloaded Member Functions

Break(nn::dbg::BreakReason) Stops the program.
Break() Stops the program.

Description of Break(nn::dbg::BreakReason)

If the program is running on a debugger, the program stops at the point where the Break function is called.

The program quits if it is not running on a debugger. If you set Break Stop to enable in the Config tool, however, the program stops instead of quitting.

Description of Break()

The cause of the break is BREAK_REASON_PANIC.


CONFIDENTIAL