[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 287481] New: pretty printer fails on nested templates
From:       Milian Wolff <mail () milianw ! de>
Date:       2011-11-24 18:39:21
Message-ID: bug-287481-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: pretty printer fails on nested templates
           Product: kdevelop
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: CPP Debugger
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: mail@milianw.de


Version:           unspecified
OS:                Linux

Our pretty printers fail when encountering a type like QList<QPair<int, int> >.
They currently try to find the type "QList<QPair<int, int>>" in such cases,
note the missing space between the angle brackets.

Easy fix would be to always add a space there bug that is somewhat ugly imo.
Better check last char of nested type and if it is a >, add a space.

Reproducible: Didn't try

Steps to Reproduce:
try to print e.g. a QList<QPair<int, int> >

Actual Results:  
gdb/python throws up an exception

Expected Results:  
prints the list

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic