Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/SrcLocPackage MeaningForum ↗

SrcLocPackage Meaning

App Development3 posts238 views5 likesLast activity Sep 2020
CA
carleslabonOP
Sep 2020

Hello good morning. I just want to ask where does the value “main” from srcLocPackage = “main”; come from when we use the getCallStack method since I’m having a hard time finding it within the source code. Thanks!

CO
cocreature
Sep 2020

In DAML Studio main refers to the current package. Outside of DAML Studio of for other packages, srcLocPackage will give you the name of the package the module was in.

CA
carleslabon
Sep 2020

Thanks! @cocreature

← Back to Discussions