debugger - show hint type data as array elements
This commit is contained in:
@@ -20,7 +20,7 @@ public partial class ThreadsVariablesSubTab
|
||||
const int iconSize = 18;
|
||||
var icon = variable.PresentationHint?.Kind switch
|
||||
{
|
||||
VariablePresentationHint.KindValue.Data => _fieldIcon,
|
||||
VariablePresentationHint.KindValue.Data => _arrayElementIcon,
|
||||
VariablePresentationHint.KindValue.Property => _propertyIcon,
|
||||
VariablePresentationHint.KindValue.Class => _staticMembersIcon,
|
||||
_ => null
|
||||
|
||||
@@ -15,6 +15,7 @@ public partial class ThreadsVariablesSubTab : Control
|
||||
private readonly Texture2D _fieldIcon = ResourceLoader.Load<Texture2D>("uid://c4y7d5m4upfju");
|
||||
private readonly Texture2D _propertyIcon = ResourceLoader.Load<Texture2D>("uid://y5pwrwwrjqmc");
|
||||
private readonly Texture2D _staticMembersIcon = ResourceLoader.Load<Texture2D>("uid://dudntp20myuxb");
|
||||
private readonly Texture2D _arrayElementIcon = ResourceLoader.Load<Texture2D>("uid://cppysddplcd6d");
|
||||
|
||||
private Tree _threadsTree = null!;
|
||||
private Tree _stackFramesTree = null!;
|
||||
|
||||
Reference in New Issue
Block a user