Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weird object members are shown when debugging

When inspecting an instance of a class (normal class, composed of strings, ints and booleans) using the VS2010 Ultimate SP1 debugger, I can see all of the props that I've defined in the class, but I've also noticed a couple of things that shouldn't be there.

They appear with a blue box symbol and a '?'.

What are they?

Is my class sick? Are they class-tumors? (ha ha)... or even worst.

Has my VS2010 cancer?

Here's a screen shot, so you can see what I mean.

Thanks in advance

enter image description here

like image 754
Adrian Salazar Avatar asked Aug 11 '26 00:08

Adrian Salazar


1 Answers

Yes, my VS2010 has some weird degenerative disorder. I hope it's only mine.

I found out how that those '?' are the members of the class that VS2010 can't normally show in the vertical space that it creates when you inspect an object.

1) You inspect an object. VS shows you the (x) first members and a down arrow.

First inspector screen

2) You mouse-over the down arrow, VS will show you what's missing.

Normal expansion of the members

3) If you repeat the exercise (load the inspector again) but use the mouse wheel instead of using the mouse-over in the down arrow, you'll see the weird things.

Alzheimer VS2010

like image 85
Adrian Salazar Avatar answered Aug 12 '26 18:08

Adrian Salazar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!