depth call stack

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
User avatar
Otto
Posts: 174
Joined: Wed Sep 30, 2015 6:22 pm

depth call stack

Post by Otto »

In VO I got a situation that there is probably a circular reference resulting in a crash without an errorlog (in our case at least).
Now I would like to check how deep the call stack is in certain situations.

Is there a function that I can call to see how deep the call stack is? Or do I have to iterate through the call stack to get to the bottom, just like I'd do to dump the call stack?
User avatar
robert
Posts: 4225
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

depth call stack

Post by robert »

Otto,

AFAIK there is no easy way to query for the call stack depth.
In the VO runtime the call stack information (with the procnames and proclines etc) is stored in a very complicated linked list of structures.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply