可视化参与诉讼的code? [英] Visualizing the code involved in an action?

查看:151
本文介绍了可视化参与诉讼的code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出如何图书馆工作,我想是能够想象其中的方法和code线,以响应用户的输入被执行(例如,一个关键的preSS或鼠标点击) 。有没有办法做到这一点。NET中?

I am trying to figure out how a library works and I would like to be able to visualize which methods and lines of code are executed in response to user input (e.g. a keypress or mouse click). Is there a way to do this in .NET?

推荐答案

有微软一个奇妙的,免费的工具,称为 PEX 。一旦安装,你可以用鼠标右键点击的方法,并选择运行Pex的探索。这将分析code,告诉你输入触摸方法的每一个部分。

There's a wonderful, free tool from Microsoft called Pex. Once installed, you can right-click a method and select "Run Pex Exploration". It will analyze the code and show you inputs to touch every part of the method.

有关详细信息,请参阅<一href="http://blogs.msdn.com/nikolait/archive/2008/10/21/sneak-$p$pview-$c$c-digger-the-new-pex-experience.aspx"相对=nofollow> Pex的codeDigger 。下面是它在行动截图:

For more information, see Pex CodeDigger. Here's a screenshot of it in action:

替代文字/

这篇关于可视化参与诉讼的code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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