Visual Studio 2008 - 获取断点之间的时间间隔? [英] Visual Studio 2008 - Get time interval between break points?
问题描述
我不想添加代码到我现有的源代码,以确定需要多长时间运行,我想要一个快速,调试时弄脏的方法。对于你聪明的屁股,我知道我总是可以鞭打一个秒表,但我想要一些有点精确的东西。
您可以使用Tracepoint,当点击时,会将您输入的内容输出到控制台窗口:
alt文字http://img24.imageshack.us/img24/3866/51292677.png
然后你可以从前者中减去后者,以获得两者之间的时间。
Does anyone know if you can get the time interval between break points in VS 2008? Plugin?, VS trick?
I DON'T want to add code to my existing source code to figure out how long something takes to run, I would like a quick and dirty way to get this while debugging. For you smart asses out there I know I can always whip out a stopwatch too, but I want something that is somewhat precise as well.
You could use a Tracepoint - which, when hit, will output what you entered to the console window:
alt text http://img24.imageshack.us/img24/3866/51292677.png
Then you can subtract the latter from the former to get the time between the two.
这篇关于Visual Studio 2008 - 获取断点之间的时间间隔?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!