Is it me or the Functions menu behavior is erratic in Keil IDE? I am running 5.29. Sometimes I see proper contents: file names and "+" can expand function names for each file. Sometimes I see this: just a bunch of function names without any relationship to the files where they are defined. But most of the time the window goes completely blank for no apparent reason. If I restart the IDE, it reappears again but will eventually disappear again. I am testing on a single project that I have built. And it is one of the examples from the official Pack and it contains standard stuff, like HAL drives, some CMSIS stuff, etc.
Oh, so immediately after I asked the question I noticed that the behavior can be toggled between "display functions" and "display modules". Now I see file names and functions. But I am still not sure why sometimes the window goes completely blank. Any ideas?
So I tried again and noticed that the Functions window went blank after I hit F12 to navigate to a struct definition. It jumped to that struct but that blanked the Functions window. I tried switching between Display Modules and Display Functions but it remains blank. How do I get out of this mode? This seems to happen when I navigate to something other function, such as a type definition.
I can't reproduce a blank Functions window by pressing F12 (in use: MDK 5.29)
Thank you for your reply. Here is how I can repro it: create a project for example for STM32F4 nucleo. It will generate a bunch of files. Switch to Functions menu. Notice main.c is on top of the list.
Expand main.c and click on SystemClock_Config. Then in the main.c window select for example __HAL_RCC_PWR_CLK_ENABLE() and click F12 to go to the definition. Sometimes thats enough and the Function window will go blank. Sometimes that will work. If it worked, click "Navigate backwards" arrow to go back. Notice how main.c has disappeared from the Functions list:
Where is it? I am in the main.c window but main.c is not on the list.
Now just close main.c. Boom the Functions window goes blank:
Now no matter what you do, it will remain blank until you restart the IDE.
Or instead of closing main.c you can navigate to some other function for example __HAL_PWR_VOLTAGESCALING_CONFIG.
Hit F12 then go back and boom, the Functions window is blank again. I mean there are many ways to reproduce this, I just hit F12 and then return back and eventually the Functions window gets empty. Sometimes even on the first attempt.
View all questions in Keil forum