only __debug_break() on PS if _DEBUG
@@ -243,7 +243,7 @@ C_FUNCTION_END
#if defined(HL_VCC)
# define hl_debug_break() if( IsDebuggerPresent() ) __debugbreak()
-#elif defined(HL_PS)
+#elif defined(HL_PS) && defined(_DEBUG)
# define hl_debug_break() __debugbreak()
#elif defined(HL_NX)
C_FUNCTION_BEGIN
