al-code-outline
al-code-outline copied to clipboard
Sometimes the "Add Multiple Fields" function does not show fields from the standard, or the DropDown fields for selecting objects from the standard are empty
This is a very strange behavior indeed. I had it a few times in the last weeks that I could only access fields or metadata within the current extension in VSCode. For example, if I wanted to create a new PageExtension with the wizards, then no standard objects were displayed in these wizards, which of course slowed down the work significantly. In other words, neither the objects themselves nor the associated fields were displayed.
At that time I had installed the latest version of the extension, both from Microsoft and from you in VSCode. The phenomenon occurred on several computers, but strangely not in all projects and I had no point to it.
So this is much more of a question than a bug report. Are there any logs you can enable, caches you can clear, or things you can check if no data is coming back here? That alone would be helpful to me.
Best thanks in advance for this!
Thank you for reporting this problem. You can check log bu running "Open AZ AL Dev Tools log file" command. The issue might be caused by a bug in al source code parsing or maybe some files are locked and my extension is unable to load them. If you see any errors in the log file, please send them to me, I will try to find why it is broken.
Thanks for the answer! I'll try that directly the next time it occurs so that you can track down the error.
I unfortunately had the above problem again today. Then I looked directly into the log you mentioned. Unfortunately, there was no entry there with today's date. Say, it was just totally empty.
Can I somewhere still increase the log level so that I get more output? Would very much like to provide you with what, but without a real log entry is of course difficult.
Currently only errors are logged in the log file, I'll modify the extension and add debug mode to save more data. Whet it happens next time, could you check if AZALDevToolsServer.NetCore.exe is still running in the background? Maybe there is something in the event viewer?
That sounds great! Sure should be no problem. Are you planning to provide the new debug option via the extension settings so that you can enable or disable it at any time, or just as a "hidden" option?