I discovered a problem with my extension, and I realized that although the bug was in the Source, the Run-time Problem that I got was not in the least bit helpful. After I tracked down the error, I wrote a little statement like this:
if S is not a thing, say "*** Multitudes run-time problem: The [printed name of the mess] multitude does not have a specimen defined.";
But of course this is not a real RTP and there’s no helpful long-winded explanation that tells you how to fix it, appearing in a separate panel of the IDE. Does I7 have hooks for that or are all the RTPs way down in I6 code?
I like that idea. Further steps: if the RT message included the extension name, the IDE could pop that open, maybe displayed a specially-tagged documentation segment.
Alternately, explode the I6 function RunTimeProblem() into a rulebook, which takes a KOV as the parameter. That’s basically all the I6 func does anyway…
I’ve had many a project throw RTPs on “perfect and tested” code. If I had added rules to such a rulebook to showme various game-specific variables besides the RTP itself, that would be very handy.
(It’s still not exactly a calltrace, but it’s getting there.)