Skip to content

Commit 5dc239a

Browse files
committed
Improve debugging display for Type type.
1 parent eff9b07 commit 5dc239a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AST/Type.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.Diagnostics;
34
using System.Linq;
45
using CppSharp.AST.Extensions;
56

@@ -8,6 +9,7 @@ namespace CppSharp.AST
89
/// <summary>
910
/// Represents a C++ type.
1011
/// </summary>
12+
[DebuggerDisplay("{ToString()} [{GetType().Name}]")]
1113
public abstract class Type : ICloneable
1214
{
1315
public static Func<Type, string> TypePrinterDelegate;

0 commit comments

Comments
 (0)