Basic co_bt gdb script for coro::Task
Summary:
This is mostly a POC. It will probably fail in some cases, but it's better than nothing.
Sample output:
(gdb) co_bt this
0x292d70 <zero()>
0x293f50 <one()>
0x295050 <two()>
0x296150 <three()>
0x297250 <folly::coro::TaskWithExecutor<int>::start() &&::{lambda(folly::Promise<int>, folly::coro::TaskWithExecutor<int>)#1}::operator()(folly::Promise<int>, folly::coro::TaskWithExecutor<int>) const>
Reviewed By: jwiepert
Differential Revision: D13727139
fbshipit-source-id: bff98eb4f5eb2ebd73c880d3b525172782f87511
Showing
Please register or sign in to comment