AnsweredAssumed Answered

-stack-list-frames error with invalid thread ID

Question asked by Matt Ellis on Jan 11, 2019
Latest reply on Jan 17, 2019 by Erich Styger

I'm getting an error message when I "suspend" a debugging session for the first time after starting a debug session.  I'm using the following:

  • S32 Design Studio for ARM Version 2018.R1
  • JLink Ultra+ debugger V4.5
  • FreeRTOS V10.1.1
  • SEGGER J-Link GDB Server V6.40 Command Line Version (JLinkGDBServerCL.exe)  with FreeRTOS aware debugger RTOSPlugin_FreeRTOS.dll
  • S32K144 mcu (Cortex M4F)

The error dialog I get is as follows, indicating that there is an "Invalid thread id:2".....

Which kind of makes sense since there is no Thread 2 listed in the debugger thread list:

 

After clicking "OK" in the error dialog, I'm able to debug and things seem to work fine.  I don't see the error dialog again when I suspend the debugger; it only shows up the first time.

 

Any ideas?  Thanks for your help!

 

Matt

Outcomes