I would like to add a warning that shows up like the "Main Thread Checker" in the Issue Navigator under the Runtime tab.
I have used assert() in the past but I don't want to cause a crash, just note the issues in the navigator.
I want the error to only show if the code is run and not at compile time.
Maybe the answer is that one doesn't exist?