nn::dbg::Break Function

Syntax

#include <nn/dbg.h>

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

Arguments

Name Description
in reason Value indicating why the program stopped.

Return Values

Returns the function's execution result.

Description

Stops the program.

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.


CONFIDENTIAL