在 C# 中跟踪程序流的当前可能性? [英] Current possibilities for tracing program flow in C#?

查看:32
本文介绍了在 C# 中跟踪程序流的当前可能性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几年前我使用 Postsharp 在执行过程中跟踪程序流程无需手动向方法添加跟踪语句.

I have used Postsharp a few years ago to trace program flow during execution without needing to manually add trace statements to the methods.

是否还有其他新方法可以以类似的方式跟踪执行以调试输出?

Is there any other new ways to trace execution to to debug output in a similar way?

(最好是一种不需要检测构建的程序集的方法.也许不可能?)

(Preferably a way that doesn't need to instrument the built assemblies. Maybe not possible?)

推荐答案

如果您只在调试时需要此功能,Microsoft IntelliTrace 这是 Visual Studio 2010 Ultimate 的一部分,还有 Sergey Vlasov 的 运行时流程.前者使您的程序运行非常缓慢.后者没试过.

If you only want this ability at debug time, there's Microsoft IntelliTrace that's a part of Visual Studio 2010 Ultimate, and there's Sergey Vlasov's RunTime Flow. The former makes your program run very slow. Haven't tried the latter.

这篇关于在 C# 中跟踪程序流的当前可能性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆