Skip to content

Commit

Permalink
Update debug.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm authored Mar 21, 2019
1 parent 5f98dac commit 03be57b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/dev/modules/ROOT/pages/debug.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ When AddressSanitizer finds a bug you can set a breakpoint

NOTE: you can also set the environment variable `ASAN_OPTIONS=abort_on_error=1` to
get the same effect as in the second case

[TIP]
====
It is advised to disable the leak detection while looking for a bug as follows
----
> ASAN_OPTIONS=detect_leaks=0 gdb <executable to debug>
----
====

0 comments on commit 03be57b

Please sign in to comment.