I usually keep my notebooks collapsed to make understanding what's going on easier. The problem is that if there's an execution error, I have to expand everything in order to even know that there was an error. I'm looking for a solution to this.
Some years ago I posted this question (Show error messages from collapsed sections), and now if I try that solution my code hangs. There have probably been a lot of changes since then.
For now, if I could just send execution errors to the message window (or anywhere else) and also keep them in line with the code, my problem would be solved. I couldn't figure out from the documentation how to send all errors to the message window.
Alternatively if someone could tell me how to search my notebook for errors, that would also solve my problem.
As an aside, I didn't know how to best create the html link in this post. I'd appreciate advice or an edit.