1menu "GDB Stub"
2
3    # Hidden option which is selected from the "Panic handler behavior"
4    # menu in the target component.
5    config ESP_GDBSTUB_ENABLED
6        bool
7        select FREERTOS_ENABLE_TASK_SNAPSHOT
8
9    config ESP_GDBSTUB_SUPPORT_TASKS
10        bool "Enable listing FreeRTOS tasks through GDB Stub"
11        depends on ESP_GDBSTUB_ENABLED
12        default y
13        help
14            If enabled, GDBStub can supply the list of FreeRTOS tasks to GDB.
15            Thread list can be queried from GDB using 'info threads' command.
16            Note that if GDB task lists were corrupted, this feature may not work.
17            If GDBStub fails, try disabling this feature.
18
19    config ESP_GDBSTUB_MAX_TASKS
20        int "Maximum number of tasks supported by GDB Stub"
21        default 32
22        depends on ESP_GDBSTUB_SUPPORT_TASKS
23        help
24            Set the number of tasks which GDB Stub will support.
25
26endmenu
27