diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b880b2..c62facc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +- FreeRTOS: Fix the issue where hints are not showing at all when Thread ID is missing. + ## 0.0.15 - Mar 28, 2026 - Read stackTop for current running task with function contributed by @malsyned also in uc/OS-II. diff --git a/src/rtos/rtos-freertos.ts b/src/rtos/rtos-freertos.ts index ee7b083..c34a30d 100644 --- a/src/rtos/rtos-freertos.ts +++ b/src/rtos/rtos-freertos.ts @@ -249,7 +249,7 @@ export class RTOSFreeRTOS extends RTOSCommon.RTOSBase { this.helpHtml = ''; try { let ret = ''; - if (!thInfo['uxTCBNumber'].val) { + if (!thInfo['uxTCBNumber']?.val) { ret += `Thread ID missing......: Enable macro ${strong('configUSE_TRACE_FACILITY')} in FW
`; } if (!th.stackInfo.stackEnd) {