I’m looking for an Eclipse plugin for FreeRTOS that allows me to view the backtraces of each task. Eclipse GDB Hardware Debugging by itself only shows me the backtrace of the currently running task. This makes perfect sense because neither Eclipse nor GDB have any knowledge of FreeRTOS. However, I’m thinking an intelligent plugin might do better!
I tried the StateViewer plugin from High Integrity Systems, but it only shows me the list of tasks and their priorities, stack pointers/tops, state, and what event it’s waiting/blocked on (if any). It does not have the ability to show me backtraces of these tasks, which would be incredibly useful for seeing the full context, local variable states, etc. I know all the information is there in the stacks of each task, and it’s only a matter of parsing those stacks.
Since GDB does this already for the currently running task, I wouldn’t mind if I had to “switch” to a different task in order to leverage GDB to view another task’s backtrace. Unfortunately, StateViewer doesn’t support that either. I’m forced to set strategic breakpoints where I know other tasks will hit, and let the processor run to those breakpoints. One big disadvantage of this is that if the target system has crashed or locked up, setting those breakpoints and letting the processor run is no longer a viable option.
Does an Eclipse plugin exist that has these features, or must I write one myself?