This is the mail archive of the
mailing list for the GDB project.
gdb can't handle Boost?
- From: Mathew Yeates <mat dot yeates at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 11 Nov 2010 07:53:03 -0800
- Subject: gdb can't handle Boost?
I have something like
Array<double, 1> ind(100);
for(int i = 0; i < 100; ++i)
ind(i) = i + 1;
cout << ind(0) << "\n";
res = 0;
If I set a breakpoint at the end where res is set to 0
the value of "1" is printed to stdout. However,
(gdb) p ind(0)
Invalid data type for function to be called.
Is there a workaround for this?