title: gdb class is incomplete type until I set breakpoint in class constructor?
body: <p>I debug Chrome in gdb and I run into this problem all the time:</p>
  
  <p>If I try to print a variable of certain type, GDB does not know its internals:</p>
  
  <pre><code>(gdb) p current_child_.get()
  $12 = (blink::NGBlockNode *) 0xc2f755c1830
  (gdb) p *(current_child_.get())
  $13 = &lt;incomplete type&gt;
  </code></pre>
  
  <p>But, if I just set a breakpoint in a constructor of that class, gdb will suddenly discover that type's symbols:</p>
  
  <pre><code>(gdb) br blink::NGBlockNode::NGBlockNode
  Breakpoint 3 at 0x51db40 (4 locations)
  (gdb) p *(current_child_.get())
  $14 = {
    &lt;blink::NGLayoutInputNode&gt; = {
      &lt;blink::GarbageCollectedFinalized&lt;blink::NGLayoutInputNode&gt;&gt; = {
        &lt;blink::GarbageCollected&lt;blink::NGLayoutInputNode&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;},
  </code></pre>
  
  <p>This is so annoying, I have a set of macros to set breakpoints in classes I usually print. Are there any other workarounds?</p>