wouldn't it be great if we could drop these into the code at any time, like macros, so that they could be resolved at compile time. These are super handy for debugging, and currently require the use of third party tools.
Suggestion
print "unknown error occurred " ; BS_FILE() ; "." BS_FUNCTION() ; BS_LINENUM()
Would compile to
print "unknown error occurred pkg:/path/ToFile.brs.LoadStuff(23)"