This is the mail archive of the
mailing list for the GDB project.
Re: c++0x lambdas, single steeping
>>>>> "Jan" == Jan Kratochvil <email@example.com> writes:
Pedro> Is there support in gdb for single stepping into them? Last
Pedro> attempt with 7.2-debian was not successful.
Jan> At least with unpatched FSF GCC+GDB releases it works for me.
Yes, Pedro, please be more specific.
Jan> In general only line granularity is supported for debugging - separate
Jan> stepping of multiple statements ona a single line are not supported.
Also, you need a recent svn trunk GCC and CVS head GDB to get captured
variables working properly. Jason put in a g++ patch for this last
week, and I wrote the corresponding gdb part.