[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 135866] New: missing update of watch variables
From: Christian Spielberger <christian.spielberger () aon ! at>
Date: 2006-10-18 7:20:45
Message-ID: 20061018092043.135866.christian.spielberger () aon ! at
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=135866
Summary: missing update of watch variables
Product: kdevelop
Version: 3.2.0
Platform: Debian stable
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: christian.spielberger aon at
Version: 3.2.0 (using KDE KDE 3.5.1KDE 1.2)
Installed from: Debian stable PackagesDebian stable Packages
Compiler: g++ (GCC) 3.3.5
OS: Linux
Code example:
#include <iostream>
using namespace std;
uint fib(uint j) {
if(j<=2)
return 1;
return fib(j-2) + fib(j-1);
}
int main(int argc, char *argv[]) {
for(uint i=5; i<20; i++) {
printf("The %d-th fibonacci number is %d.\n", i, fib(i));
}
return 0;
}
- Compile the example in debug version.
- Place a breakpoint at line 7 (return 1).
- Start in debug mode.
- Add watch variables i and j.
+ The correct value of j is shown.
- Select the line #5 in the "Frame Stack" (in the main method).
+ The watch variables are not updated.
They can be updated by right click on the variable, and selecting "Toggle \
Hex/Decimal", what is not very convenient.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic