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

List:       kdevelop-bugs
Subject:    [Bug 235759] New: KDevelop debugger fails to display watch when
From:       Valentin Pavlyuchenko <TheValik () gmail ! com>
Date:       2010-04-29 20:09:48
Message-ID: bug-235759-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: KDevelop debugger fails to display watch when
                    expression has spaces
           Product: kdevelop
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: TheValik@gmail.com


Version:           4.0 (using KDE 4.4.2)
Compiler:          4.4.3 20100108 
OS:                Linux
Installed from:    Debian testing/unstable Packages

Sample program:

int main(int argc, char **argv) 
{
    int a = 2;
    int b = 3;
    int c = a + b; //set breakpoint here
    return c;
}

Launch a debugger, stop on a breakpoint on the selected place. 
Add watch "a+b" - it will be ok.
Add watch "a + b" - nothing will be displayed, but it's a correct expression!

KDevelop IMHO should cut spaces if gdb doesn't recognize them.

-- 
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