开发者

How to known the stack level reached in .NET?

How to know and then print out (in debug) the stack level reached in a certain moment inside 开发者_Go百科a function call?


new System.Diagnostics.StackTrace().FrameCount
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜