Kate Gregory's Blog
Tuesday, August 31, 2010
the DebuggerDisplay attribute
Let's say you read
the entry about data structure visualizers
and in addition to all the STL humour you got excited about being able to control the way the debugger shows your objects as you work at understanding your application at runtime. And then you were sad because you don't do native C++ work and you don't know how you could get the same behaviour in a managed application. Well, have I got a keyword for you -
DebuggerDisplay
. Don't like that MSDN page about it?
Here's another
. Quick and easy, at least for simple types with only a few member variables. Give it a whirl. There's
a nice example
with screen shots at Dev102.
Kate
Mentoring
|
Seen and Recommended
Tuesday, August 31, 2010 7:19:29 PM (Eastern Daylight Time, UTC-04:00)
Comments [0]
Comments are closed.
© Copyright 2019 Kate Gregory
Theme design by
Bryan Bell
newtelligence dasBlog 2.3.9074.18820
| Page rendered at Thursday, December 12, 2019 10:18:31 PM (Eastern Standard Time, UTC-05:00)
On this page....
<
December 2019
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
Pluralsight Free Trial
Click Start a FREE 10-Day trial
Search
Navigation
Home - Gregory Consulting Limited
RD Program
Visual C++ on MSDN
dasBlog
Categories
C++
C++ Guidelines
Canadian Colour
Client Development
Concurrency
Consulting Life
INETA
Mentoring
Meta
MVP
Office 12 and VSTO
Office 2003
RD
Seen and Recommended
Speaking
Travel
Vista
Visual Studio 11
Visual Studio 2008
Visual Studio 2010
Visual Studio 2013
Visual Studio 2015
Visual Studio 2017
Visual Studio 2019
Windows 7
Windows 8
Blogroll
Sign In