Add instruction for debugging posix application with LLDB

This commit is contained in:
Bhoomika R S 2025-02-12 14:27:09 +05:30
parent fbaeba352e
commit 5eef7bfc1a

View file

@ -48,6 +48,11 @@
* stdio (printf() and friends) should be called from a single task * stdio (printf() and friends) should be called from a single task
* only or serialized with a FreeRTOS primitive such as a binary * only or serialized with a FreeRTOS primitive such as a binary
* semaphore or mutex. * semaphore or mutex.
*
* Note: When using LLDB (the default debugger on macOS) with this port,
* suppress SIGUSR1 to prevent debugger interference. This can be
* done by adding the following line to ~/.lldbinit:
* `process handle SIGUSR1 -n true -p true -s false`
*----------------------------------------------------------*/ *----------------------------------------------------------*/
#ifdef __linux__ #ifdef __linux__
#define _GNU_SOURCE #define _GNU_SOURCE