简体   繁体   English

我可以在Visual Studio 2008中标记断点吗?

[英]Can I Label breakpoints in Visual Studio 2008?

Is there a way to name(label) breakpoints in MS VS 2008? 在MS VS 2008中是否可以命名(标签)断点?

I know 2010 has that feature but, I am still stuck with 2008 at work as I am not sure what would the overhead be to go from 2008 to 2010. 我知道2010年具有该功能,但是我仍然会坚持使用2008年,因为我不确定从2008年到2010年的开销会是多少。

What tempted me to post this question here was that, there is a column called "name" wheich seems to be grayed out. 促使我在此处发布此问题的原因是,有一个名为“名称”的列似乎已灰显。

I'm guessing this would probably let me achieve what I want but I am not sure how to enable this. 我猜这可能会让我实现我想要的目标,但是我不确定如何启用它。

Edit 1: I am trying working with C++ code. 编辑1:我正在尝试使用C ++代码。

According to the msdn documentation, no. 根据msdn文档,否。

There is an msdn article about labeling breakpoints: 有一篇有关标记断点的msdn文章:

http://msdn.microsoft.com/en-us/library/dd293674.aspx http://msdn.microsoft.com/en-us/library/dd293674.aspx

It describes how to do it for VS 2010. There is a dropdown at the top of the screen that says "Other Versions" and only allows you to select VS 2012. So no, you can't do it in VS 2008. Sorry! 它描述了针对VS 2010的操作方法。屏幕顶部有一个下拉菜单,显示“其他版本”,仅允许您选择VS2012。所以,不,您无法在VS 2008中进行操作。对不起!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM