c# - Visual Studio 2010 中的线程标记是什么?

标签 c# c++ multithreading visual-studio debugging

我很难理解 MSDN 文章中的内容:

“发现线程标记”部分讲述了:

  1. Right-click in the Threads window, then click Show Threads in Source.
  2. Look at the gutter on the left side of the window. On this line, you will see an icon that resembles two cloth threads. One thread is red and the other is blue. The thread marker indicates that a thread is stopped at this location. Possibly, thread is stopped at this location .

..... This icon is a thread marker: ThreadMarker"

我找不到这个线程标记,也无法理解“单击源代码中的显示线程”所完成的工作(此后我没有看到任何差异)

线程标记是什么?单击“源代码中的显示线程”有什么作用?

这是我按照以下步骤操作后的 VS2010 屏幕截图:

VS2010 Debugging - Threads

最佳答案

没有做任何其他对我有用的事情。 enter image description here

关于c# - Visual Studio 2010 中的线程标记是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15169083/

相关文章:

c# - 表单例份验证-密码恢复-我宁愿用户在网络上重置它而不发送电子邮件

c++ - 为 Visual Studio Community 2017 C++ 着色的特定运算符

c++ - 如何使用 std::mem_fun 传递参数

java - 保证两个线程同时启动

python - Python 中 n 元组后面的逗号会改变它的值吗?

c# - 使用 WCF REST 服务进行基本身份验证的内置方法?

c# - 自动完成:用 json 数据显示结果

c# - 如何从 C# 中的 JSON 响应中删除反斜杠?

C++11 右值两次调用析构函数

java - 如何确保一个线程在另一个线程之后执行?