Bug 19410 - Debugger ignores new type icons
Summary: Debugger ignores new type icons
Status: CONFIRMED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger (show other bugs)
Version: 5.0
Hardware: All All
: Lowest enhancement
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-04-30 07:10 UTC by Marek Safar
Modified: 2015-08-02 12:52 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Marek Safar 2014-04-30 07:10:09 UTC
http://screencast.com/t/gmmf3i1YVdv
Comment 1 Prashant manu 2014-04-30 08:05:14 UTC
I have checked this issue and getting same behavior as shown in screencast : http://www.screencast.com/t/h724MQ3W57R
Comment 2 Jeffrey Stedfast 2014-04-30 13:21:44 UTC
The icon isn't meant to show what type of object it is, it is meant to show whether it is:

switch (flags & ObjectValueFlags.OriginMask) {
case ObjectValueFlags.Property: source = "property"; break;
case ObjectValueFlags.Type: source = "class"; global = string.Empty; break;
case ObjectValueFlags.Method: source = "method"; break;
case ObjectValueFlags.Literal: return "md-literal";
case ObjectValueFlags.Namespace: return "md-name-space";
case ObjectValueFlags.Group: return "md-open-resource-folder";
case ObjectValueFlags.Field: source = "field"; break;
case ObjectValueFlags.Variable: return "md-variable";

we probably just shouldn't be using the "class" icon at all and using something else...
Comment 3 Lluis Sanchez 2014-04-30 13:52:38 UTC
We may add a type-kind property in the future. In any case this is an ENH.

Note You need to log in before you can comment on or make changes to this bug.