https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215
Bug ID: 99215 Summary: coroutines: debugging with gdb Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nilsgladitz at gmail dot com Target Milestone: --- I am itching to get into C++20 coroutines (and very grateful for their implementation) but am somewhat put off by the apparent inability to inspect them from within a debugger currently. While looking for existing related GCC specific issues, discussions or commits (none of which I found) the following paper [Debugging C++ coroutines] did come up: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2073r0.pdf This seems to at least confirm the current state that I was seeing. I can not tell if support for this is missing in GCC or GDB or both but I figured I'd try finding out here first. Presumably (hopefully) someone here is at least aware of the issue and might be able to point out if this is maybe already done (and I am just doing it wrong or using the wrong GCC version), in the works or on some agenda somewhere.