Index: src/js/macros.py |
diff --git a/src/js/macros.py b/src/js/macros.py |
index ada0733a150abd2e5b906a6c61374d08bcc9081c..4ce6d19192d790044da8ca585881364ebc6fcbad 100644 |
--- a/src/js/macros.py |
+++ b/src/js/macros.py |
@@ -306,7 +306,7 @@ define NOT_FOUND = -1; |
# Check whether debug is active. |
define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); |
macro DEBUG_IS_STEPPING(function) = (%_DebugIsActive() != 0 && %DebugCallbackSupportsStepping(function)); |
-macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (DEBUG_IS_STEPPING(function)) %DebugPrepareStepInIfStepping(function); |
+macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (%_DebugIsActive() != 0) %DebugPrepareStepInIfStepping(function); |
# SharedFlag equivalents |
define kNotShared = false; |