You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("Coro debugging utilities installed. Use `help coro` to see available commands.")
998
998
999
999
if__name__=='__main__':
@@ -1012,7 +1012,7 @@ For GDB, the following script provides a couple of useful commands:
1012
1012
1013
1013
.. code-block:: python
1014
1014
1015
-
# debugging-helper.py
1015
+
# debugging-helper.py
1016
1016
import gdb
1017
1017
from gdb.FrameDecorator import FrameDecorator
1018
1018
@@ -1160,11 +1160,11 @@ Further Reading
1160
1160
1161
1161
The authors of the Folly libraries wrote a blog post series on how they debug coroutines:
1162
1162
1163
-
* [Async stack traces in folly: Introduction](https://developers.facebook.com/blog/post/2021/09/16/async-stack-traces-folly-Introduction/)
1164
-
* [Async stack traces in folly: Synchronous and asynchronous stack traces](https://developers.facebook.com/blog/post/2021/09/23/async-stack-traces-folly-synchronous-asynchronous-stack-traces/)
1165
-
* [Async stack traces in folly: Forming an async stack from individual frames](https://developers.facebook.com/blog/post/2021/09/30/async-stack-traces-folly-forming-async-stack-individual-frames/)
1166
-
* [Async Stack Traces for C++ Coroutines in Folly: Walking the async stack](https://developers.facebook.com/blog/post/2021/10/14/async-stack-traces-c-plus-plus-coroutines-folly-walking-async-stack/)
1167
-
* [Async stack traces in folly: Improving debugging in the developer lifecycle](https://developers.facebook.com/blog/post/2021/10/21/async-stack-traces-folly-improving-debugging-developer-lifecycle/)
1163
+
* `Async stack traces in folly: Introduction<https://developers.facebook.com/blog/post/2021/09/16/async-stack-traces-folly-Introduction/>`_
1164
+
* `Async stack traces in folly: Synchronous and asynchronous stack traces<https://developers.facebook.com/blog/post/2021/09/23/async-stack-traces-folly-synchronous-asynchronous-stack-traces/>`_
1165
+
* `Async stack traces in folly: Forming an async stack from individual frames<https://developers.facebook.com/blog/post/2021/09/30/async-stack-traces-folly-forming-async-stack-individual-frames/>`_
1166
+
* `Async Stack Traces for C++ Coroutines in Folly: Walking the async stack<https://developers.facebook.com/blog/post/2021/10/14/async-stack-traces-c-plus-plus-coroutines-folly-walking-async-stack/>`_
1167
+
* `Async stack traces in folly: Improving debugging in the developer lifecycle<https://developers.facebook.com/blog/post/2021/10/21/async-stack-traces-folly-improving-debugging-developer-lifecycle/>`_
1168
1168
1169
1169
Besides some topics also covered here (stack traces from the debugger), Folly's blog post series also covers
1170
1170
more additional topics, such as capturing async strack traces in performance profiles via eBPF filters
0 commit comments