Using Debug Attributes in Your Code
The section “‘Just My Code’ Debugging” explains how some attributes can influence the debugger’s behavior versus autogenerated code and that you can use that versus your own code. The .NET Framework also provides other attributes you can use to decorate your code for deciding how the debugger should behave versus such code. Table 5.4 lists other attributes that complete the list in Table 5.1.
As previously described in this chapter, discussing custom debugger visualizers is beyond the scope of this book, so the DebuggerVisualizer
attribute is not discussed here.
Note on Debug Attributes ...
Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.