How to get the call stack

Nav_NoobNav_Noob Member Posts: 25
Hello,

Is there a way to access the call stack through code? I want to add some logging to the modifications that I've added to my NAV system. I want to print out parameter values and the call stack from certain functions. I've created a code unit which logs to a file whatever string I pass it. I can easily pass the parameter values to my logger but I don't know how to go about getting the call stack. Does anyone have any suggestions on how to do that? Any suggestions would be greatly appreciated.

Thanks,
Adam

Comments

  • kinekine Member Posts: 12,562
    There are no ways how to access such a "low level" informations. You need to pass the parameters through code...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Nav_NoobNav_Noob Member Posts: 25
    Thanks for the reply kine, I was afraid that would be the answer :(
Sign In or Register to comment.