diff --git a/docs/source/contributor-guide/debugging.md b/docs/source/contributor-guide/debugging.md index 1d2447d2e8..3356a83893 100644 --- a/docs/source/contributor-guide/debugging.md +++ b/docs/source/contributor-guide/debugging.md @@ -33,8 +33,14 @@ _Caveat: The steps here have only been tested with JDK 11_ on Mac (M1) ## Debugging for Advanced Developers -Add a `.lldbinit` to comet/core. This is not strictly necessary but will be useful if you want to -use advanced `lldb` debugging. +Add a `.lldbinit` to comet/native. This is not strictly necessary but will be useful if you want to +use advanced `lldb` debugging. For example, we can ignore some exceptions and signals that are not relevant +to our debugging and would otherwise cause the debugger to stop. + +``` +settings set platform.plugin.darwin.ignored-exceptions EXC_BAD_ACCESS|EXC_BAD_INSTRUCTION +process handle -n true -p true -s false SIGBUS SIGSEGV SIGILL +``` ### In IntelliJ