I'm a big fan of the "old-school" debugging technique of embedding code to store interesting data into globals for later review after running the code to be debugged.
In ObjectScript, the command would look something like this:
Set ^mtempJJM("test", $i(^mtempJJM("test")) = "self=<"_self_">, "_name=<"_name_">"
And then from terminal, issuing this command:
zw ^mtempJJM("test")
One can do something similar in Python using the syntax described on the pages linked below (syntax on how to increment the global index is left to the reader 😀 ):
https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
Global Reference API | Using Embedded Python | InterSystems IRIS Data Platform 2024.2
Thanks for the vote Ben! I wanted to test the response to this idea here first before posting to other spots. Will be posting to the appropriate MS Discussion Forums shortly (great idea!). Thanks again.
Thanks Marc, perfect!