Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index d8741f78f969984e8068279fe8946a82e9f596f0..e8572e660e4e072ed6612944099723c91a566ba6 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -291,3 +291,5 @@ const ITERATOR_KIND_ENTRIES = 3; |
# Check whether debug is active. |
const 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); |