User bio
404 bio not found
Member since Jan 20, 2016
Replies:

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
 

Certifications & Credly badges:
Global Masters badges:
Followers:
Following:
Jean has not followed anybody yet.