Class changes not executing
We are using Ensemble and I added some debug logging that writes to a global and recompiled the class in Studio. However, when we send messages, the global is not populated. I have recompiled, removing the checkmark to keep the generated code so that there is only one .INT file and I verified that the code is present in the .INT file.
My question is, do we need to stop and restart the Ensemble production in order for these changes to take effect? Do I need to stop and restart the business operation that calls this piece of code? Is there something else I may have missed?
Below is the code segment, with new lines added marked in red.
Set msg = "Writing ADT, " _ me _ ", CareTracker."
Set ^CTADTCHECK($i(^CTADTCHECK),"Before Get package version") = msg
Set PackageVersion = ##class(Ens.Director).GetCurrProductionSettingValue("CareTracker Release",.tSC)
Set ^CTADTCHECK($i(^CTADTCHECK),"PackageVersion")= PackageVersion
Set beginTime = $ZH
Set tSC = dnADT.SaveToCareTrackerImportControl(dnPI,PackageVersion)
Set finishTime = $ZH
Set ^CTADTCHECK($i(^CTADTCHECK),"SaveToCareTrackerImportControl Result")=tSC
Set ^CTADTCHECK($i(^CTADTCHECK),"Elapsed Time") = finishTime-beginTime
Set dotNetError = dnADT.getuLastError()
Set ^CTADTCHECK($i(^CTADTCHECK),"DotNet Last Error") = dotNetError
When I zwrite the ^CTADTCHECK global, nothing is returned.
Thanks in advance for any tips regarding this process.