Posted inDynamics NAV & BC Tips & tricks
Tip: Get Current Callstack with a Collectible Error
You may be tempted to have your code respond differently depending on the context in which it has been called and read the callstack for that purpose. That’s not a train you want to ride though. I’ve tried, it stops at some pretty weird stations. Source…