views:

28

answers:

1

Usually when using breakpoints in Visual Studio (2008 in this example), I just see a flat list. Sometimes though, I get a tree-view for each breakpoint, as shown below (there are 26 child nodes of the expanded node). All the tree nodes refer to the same line of code, and all the optional columns display the same data for each node. I guess that they're possibly to do with threads, but what is the use of these and what do they actually show? And if they are of some use, how are you supposed to distinguish between them?

Breakpoints window

+1  A: 

In my case, it seems to relate to the AppDomains in the process being debugged. If I attach WinDbg to the process, load SOS.dll and run !DumpDomain, I can see 26 AppDomains, corresponding to the 26 tree nodes in the question. It would be nice if there was a column in the Breakpoints window that would distinguish between these!

Graham Clark