Browse Source

Improve debug display for Block.

pull/787/head
Joao Matos 10 years ago
parent
commit
baa30f0aa2
  1. 2
      src/Generator/Utils/BlockGenerator.cs

2
src/Generator/Utils/BlockGenerator.cs

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -51,6 +52,7 @@ namespace CppSharp
Fields, Fields,
} }
[DebuggerDisplay("{BlockKind} | {Object}")]
public class Block : ITextGenerator public class Block : ITextGenerator
{ {
public TextGenerator Text { get; set; } public TextGenerator Text { get; set; }

Loading…
Cancel
Save