0

I'm using Keil uVision with RTX5 RTOS and for some reason I can't see the threads I'm creating in the RTOS watch... I can only see the built in RTX idle thread and timer thread...

I've tested that my threads run with a breakpoint.

RTOS watch showing only RTX built in threads

My code using "task_1" and "task_2"

Clifford
  • 88,407
  • 13
  • 85
  • 165
  • Post _code_ not _pictures of code_. – Clifford Oct 05 '20 at 18:47
  • You are using a weird mix of mbed and RTX APIs What version of mbed? In mbed RTOS, `main()` runs in a thread context and the kernel is already initialised and started before `main()` runs. – Clifford Oct 05 '20 at 19:14
  • The executable lines (darker grey shading in the debugger gutter) do not align with the code - that is the code that is running is not the code that is displayed. In particular, the `main()` function appears to have far less code in it than the text. I suspect your code is out of date and needs re-building. Either way, it is enough to indicate that you are not telling us everything or giving accurate information. – Clifford Oct 05 '20 at 19:21

0 Answers0