https://bugs.kde.org/show_bug.cgi?id=374844

            Bug ID: 374844
           Summary: Pretty printer doesn't display printer.to_string()
                    when children are available
           Product: kdevelop
           Version: 5.0.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: CPP Debugger
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: m_ta...@yahoo.com
                CC: niko.s...@gmail.com
  Target Milestone: ---

Hi,
I'm making some pretty printers for my project and I noticed that when a
printer has children (internal properties) kdevelop only shows "{...}" on front
of the value.

In the following example, I have something like this:

struct my_int_ref
{
  int _value;
  int _refcount;
  std::string _some_not_important_string;
};

Name               | Value | Type
> my_int_ref_value | {...} | my_int_ref


Since what I want to see usually is the value of that, would be nice to have it
like this

Name               | Value | Type
> my_int_ref_value | 125   | my_int_ref

and open for more detail when needed. But for now, kdevelop is just ignoring
the result of my printer.to_string() and setting the value to "{...}".

Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to