目前准备在C#中跟踪程序流程? [英] Current possibilities for tracing program flow in C#?

查看:300
本文介绍了目前准备在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的方式,并不需要仪器内置组件,也许不可能?)

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

推荐答案

如果你只是想在调试时这种能力,还有微软的的IntelliTrace 这是的Visual Studio 2010旗舰版的一部分,而且也谢尔盖弗拉索夫的的运行流程。前者使你的程序运行速度很慢。没有尝试过了后者。

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天全站免登陆