Skip to content

Commit 03be57b

Browse files
authored
Update debug.adoc
1 parent 5f98dac commit 03be57b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/dev/modules/ROOT/pages/debug.adoc

+9
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,12 @@ When AddressSanitizer finds a bug you can set a breakpoint
3434

3535
NOTE: you can also set the environment variable `ASAN_OPTIONS=abort_on_error=1` to
3636
get the same effect as in the second case
37+
38+
[TIP]
39+
====
40+
It is advised to disable the leak detection while looking for a bug as follows
41+
42+
----
43+
> ASAN_OPTIONS=detect_leaks=0 gdb <executable to debug>
44+
----
45+
====

0 commit comments

Comments
 (0)