31i73 / atom-dbg-gdb

An Atom package - A GDB debugger
https://atom.io/packages/dbg-gdb
MIT License
16 stars 10 forks source link

Pretty printers not used in the variables tree #26

Closed BenjaminNavarro closed 6 years ago

BenjaminNavarro commented 7 years ago

When a pretty printer is defined for a type, it is used to display the variable's tooltip but not when navigating the tree.

Exemple: bug_dbg-gdb

With gdb I have what I expect:

(gdb) p force_sensor
$1 = kbot::pro_ptr<kbot::ForceSensor> = {
  name = "force_sensor",
  data = uninitialized
}

Is this possible to fix?

ProPuke commented 6 years ago

Yep, I'm looking into doing so now and tidying this up. Cheers for the prompt.