Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 2.0.1, Qt Creator 2.1.0-rc1
-
Windows Vista x64
GNU gdb (GDB) 7.1.0.20100329-cvs
Description
Let's have a simple program:
class SomeClass { public: SomeClass() { static int a = 4; ++a; } void someFunction() { static int b = 4; ++b; } }; int main(int argc, char *argv[]) { SomeClass someObject; someObject.someFunction(); return 0; }
Set breakpoints at the incrementations. Debugger will stop there but Locals and Watchers will show neither of the static ints.
This is not because of compiler optimization. a and b are there, I can assign their value to other variables.
Attachments
Issue Links
- depends on
-
QTCREATORBUG-2900 Compile python enabled FSF gdb 7.2
- Closed