Pesquisar

Pergunta
· Nov. 3

Is there a way to log all child sub routine calls in cache?

For example, I'm creating a customer at front end interface. I want to list down all the routines and child sub routines that are called at backend in mumps/cache. What's the best way to do it?

1 novo comentário
Discussão (1)2
Entre ou crie uma conta para continuar
Pergunta
· Nov. 3

%UnitTest - Is there a variable or property that can be checked so the process knows it's executing a unit test?

Yes, that's right, a Cache 2017.1 question.  Let's all take a trip in the Wayback Machine.

The company I'm working for is in the process of starting to use the %UnitTest framework, and we are experiencing some errors in the code with some existing logic.  Long story short, it looks like the best way to handle the issue would be to recognize we're executing the job as a part of a unit test.  Is there any sort of variable or property that can be checked to confirm the process is indeed executing a unit test?  A lot of our legacy methods NEW virtually all variables at the top of the method so setting a variable in OnBeforeAllTests() would be futile.  Any thoughts?

Thank you kindly for any guidance you're able to provide.

3 novos comentários
Discussão (3)2
Entre ou crie uma conta para continuar
Anúncio
· Nov. 3

Using InterSystems Embedded Analytics – Virtual December 1-5, 2025 - Registration space available

  • Using InterSystems Embedded Analytics – Virtual December 1-5, 2025
    • Embed analytics capabilities in applications and create the supporting business intelligence cubes.
    • This 5-day course teaches developers and business intelligence users how to embed real-time analytics capabilities in their applications using InterSystems IRIS® Business Intelligence.
    • This course presents the basics of building data models from transactional data using the InterSystems IRIS BI Architect, exploring those models and building pivot tables and charts using the InterSystems IRIS BI Analyzer, as well as creating dashboards for presenting pivot tables, meters, and other interactive widgets.
    • The course also covers securing models, tools and elements (dashboards, pivot tables, etc.) using the InterSystems® security infrastructure. Additionally, the course presents topics such as customizing the User Portal, troubleshooting and deployment.
    • This course is applicable for users of InterSystems IRIS® data platform, InterSystems IRIS® for Health, and HealthShare® Health Connect.
    • This course is also applicable for users of the legacy product InterSystems DeepSee.
  • SELF REGISTER HERE
Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Nov. 3

$ESTACK does not contain method/routine executed as "If Method..." or "set var = Method..."

Only method/routine executed as "do Method..." is included into $ESTACK.
How can I modify a method or routine that returns a value so it can be included in $ESTACK?
Example upon executing via Studio Debug ($ESTACK is converted to string with ">" delimiter):
    Expected: stackstr = %Debugger.System.DebugStub > LogGenerate > Entry > DirChain > Attributes >  LogNew > LogSize >  LogFormat > LogWrite
        Processes DirChain, LogNew, LogSize, LogFormat are executed as "If Method..."
        Process Attributes is executed as "set a = Attributes..."
    Current: stackstr =  %Debugger.System.DebugStub > LogGenerate > Entry > LogWrite
    While process LogWrite is executed as "If LogWrite..." it is the last process in which I obtain $ESTACK 
Thank you
 

1 novo comentário
Discussão (1)2
Entre ou crie uma conta para continuar
Resumo
· Nov. 3

InterSystems Developers Publications, Week October 27 - November 02, 2025, Digest

Articles
Announcements
Questions
Discussions
#InterSystems IRIS
#Learning Portal
October 27 - November 02, 2025Week at a GlanceInterSystems Developer Community