Hi Petr,
thanks for your hint with the clean. I did it and get finally rid of all 'grey' blocks around #if MQX_KERNEL_LOGGING. Acutally the clean+build does not do the whole job. I had to insert a 'blank' in user_conf.h and save it again. After that the header file was reloaded correctly and the build works fine. However the logging still do not work and I had a closer look again. I realized that in your demo project the debugger is aware of 8 threads. One for each task and one for the idle-task or the logging (depending at which point in time I paused the debugger)
. See screenshot below for explaination.

In my application there is only one thread that the debugger is aware of although the two tasks run in an infinity loop and they really do if I follow step by step with the debugger (see below the single thread in the debugger).


I inserted a printf() in each task to follow on the serial line what the application does and as expected it runs in an infinitey loop and switches the tasks as expected.
So I am asking myself if this could be a hint what goes wrong in my application that causes still the message 'The debug application has no kernel logging enabled'. Just to say it again. The logging function (e.g. _klog_context_switch_internal() ) is called as expected in my application and writes to the belonging data structure. It is just the the displaying tool like timeline or CPU usage is not able to detect and display the filled data structure.
Another hint might be that I did not install the latest patch of MQX. I installed the version 4.0.1 (that reports itself as 4.0.0 if I ask for the '_mqx_version'). The reason for this that I was unable to locate where to install the patch directories because I found no instructions in the zip file (see the zip file contents below).

Finally I took your demo application and modified it to my task scheme and to the application contents. I did this without changing any line of code inside mqy_tasks.c to my original application where the displaying of the logging data does not work. I did this to be sure it is an configuration and not an application program issue. I got two surprises: 1.) I got a thread for every task in the debugger + a thread for the actual position in the application (see below). 2.) the timeline etc. works :smileyhappy:.
However I have to find out what the reason is that my original application does not work. Otherwise I could not use the MQX Lite in my university course because I am 100% sure that the students will run into the same problem that I have and I have to help them out.
So any hint why I am not able to display the logging data in my original application will be welcome - final question for today- does it belong to the fact that my original application is build for RAM and not for FLASH?
Best Regards
Markus