Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC:

depth call stack 28 Dec 2021 16:55 #20908

  • Otto
  • Otto's Avatar
  • Topic Author


  • Posts: 174
  • 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?

    Please Log in or Create an account to join the conversation.

    depth call stack 28 Dec 2021 17:06 #20909

    • robert
    • robert's Avatar


  • Posts: 3289
  • 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

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1