How to access stack frame while debugging ASP.net program?

后端 未结 3 1638
暗喜
暗喜 2021-02-11 03:58

How to access stack frame information while debugging ASP.net program?

3条回答
  •  长发绾君心
    2021-02-11 04:29

    At page level you can do that with the help of

    <%@ Page Trace="true".....................................

    or you can also enable it from the codebehind in the page load method as Trace.Enabled = true;

    Is this what you are looking for?

    or you can try this link http://peterkellner.net/2009/12/21/how-to-get-a-stack-trace-from-c-without-throwing-exception/

提交回复
热议问题