Pressing F7 after triggered break stops on next break Fixed global "mode" to comply with coding convention: g_nAppMode