From 2c54b63c513fad2ec7da76600f4298bca0df271e Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 16 Mar 2021 21:42:48 +0100 Subject: [PATCH] Update dev doc --- doc/DEV.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/DEV.md b/doc/DEV.md index 8d21ad5e..271cba2d 100644 --- a/doc/DEV.md +++ b/doc/DEV.md @@ -135,3 +135,11 @@ Coding rules This prevents the automatic completion to work when the user starts writing its function. * Test functions shall be predicated and be suffixed by '_p' + + +Misc +======= + +To put a breakpoint for the thread sanitizer in case of error, in gdb add: + +$ set env TSAN_OPTIONS=halt_on_error=1,abort_on_error=1