We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e622fd commit 54579feCopy full SHA for 54579fe
Modules/_remote_debugging_module.c
@@ -976,6 +976,15 @@ create_task_result(
976
goto error;
977
}
978
979
+ PyObject* task_name = parse_task_name(unwinder, task_address);
980
+ if (PyUnicode_CheckExact(task_name)) {
981
+ printf("TASK NAME = %s\n", PyUnicode_AsUTF8(task_name));
982
+ } else if (PyLong_CheckExact(task_name)) {
983
+ printf("TASK NAME = %ld\n", PyLong_AsLong(task_name));
984
+ } else {
985
+ printf("Task name=%p\n", task_name);
986
+ }
987
+
988
// Parse coroutine chain
989
if (_Py_RemoteDebug_PagedReadRemoteMemory(&unwinder->handle, task_address,
990
unwinder->async_debug_offsets.asyncio_task_object.size,
0 commit comments