Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: kextvizi on June 20, 2013, 11:10:57 pm
-
#include <iostream>
int main(void)
{
int a = 3, b = 4;
decltype(a) c = a;
decltype((b)) d = a;
++c;
++d;//unable see a or d become 4?
}
//my english not very good,I hope I can say clear.
GDB-Version:GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
CB-Version:(http://forums.codeblocks.org/index.php?action=dlattach;topic=18069.0;attach=6690)
Edit: Removed large image, please use image hosting services for large images to save forum space and our bandwidth. Thank you.
2013-8-6,23:02:26 add:
by supply a -gstabs+ option to gcc,then this problem is resolved.
-
Because it gets out of scope at the '}'. This is problem of gdb or feature. Talk to its developers. C::B is just a wrapper.
-
Because it gets out of scope at the '}'. This is problem of gdb or feature. Talk to its developers. C::B is just a wrapper.
seem GDB no forum?(I english not not very good,I do not find)
how find to GDB forum or other methods discuss for GDB?
-
Because it gets out of scope at the '}'. This is problem of gdb or feature. Talk to its developers. C::B is just a wrapper.
seem GDB no forum?(I english not not very good,I do not find)
how find to GDB forum or other methods discuss for GDB?
Start here http://www.gnu.org/software/gdb/mailing-lists/ (http://www.gnu.org/software/gdb/mailing-lists/)
NOTE: Do NOT waste their time talking about Code::Blocks!
Verify the problem exists using the gdb command line.
Then report the problem using the gdb command line as how to duplicate the issue.
Tim S.
-
Because it gets out of scope at the '}'. This is problem of gdb or feature. Talk to its developers. C::B is just a wrapper.
seem GDB no forum?(I english not not very good,I do not find)
how find to GDB forum or other methods discuss for GDB?
Start here http://www.gnu.org/software/gdb/mailing-lists/ (http://www.gnu.org/software/gdb/mailing-lists/)
NOTE: Do NOT waste their time talking about Code::Blocks!
Verify the problem exists using the gdb command line.
Then report the problem using the gdb command line as how to duplicate the issue.
Tim S.
Thank you for reminding,I now fell I should before report Peruse GDB documentation to confirm whether problems from own.