icons shown in left margin of IDE during debugging

During debugging, I see these two symbols (shown in green rectangles). Can someone help me understand what does these indicate?


This is used to represent the presence of threads at the current statement of the debugger. It allows you to determine which thread is active for the debugger.

For example, when my cursor is on the line Thread.Sleep(10) in this pointless example, I can choose which worker thread I am interested in (and set breakpoints by its process ID):

线程示例

Here I can see each of the worker threads that are currently active, and that I am currently stepping through the worker thread with the ID 28468. I can also flag threads easily or try to move the cursor to a different thread where possible.

Note that you will only see the thread icons if you've enabled "Show Threads in Source" on the debugger toolbar.

链接地址: http://www.djcxy.com/p/82926.html

上一篇: 根据设备正确设置图像大小的最佳方法

下一篇: 在调试期间在IDE的左边界显示的图标