From 6f86ccb153f7e231c02ea06f329855855f0b8603 Mon Sep 17 00:00:00 2001 From: Maijin Date: Sun, 16 Jun 2019 12:26:08 +0200 Subject: [PATCH] Add R_DEBUG_ASSERT in DEVELOPERS.md --- DEVELOPERS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DEVELOPERS.md b/DEVELOPERS.md index c33660b524..f4b20594d9 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -193,6 +193,8 @@ r_core_wrap.cxx:32103:61: error: assigning to 'RDebugReasonType' from incompatib * Do not use assert.h, use r_util/r_assert.h instead. +* You can use `export R_DEBUG_ASSERT=1` to set a breakpoint when hitting an assert. + * Do not use C99 variable declaration - This way we reduce the number of local variables per function and it's easier to find which variables are used, where and so on.