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
{{ message }}
Repository navigation
Debugging: no simple way to get a list of pending async computations #17862
Consider the case when some library created a long setTimeout or any setInterval and didn't cancel it when finished some main action. There should be a tab in Inspector (and corresponding debugger API) to show the list of pending asynchronous computations, so that it's clear why Node.js process is unable to shut down.
Technically speaking the requested information is already exposed via process._getActiveHandles(), the missing part is probably a new domain in the inspector protocol that integrate this information.
Note that with #14901 and nodejs/llnode#122 it's possible to get that information from a core dump or a running process attached by lldb.
Activity
Trott commentedon Dec 25, 2017
Ref: #1128
Trott commentedon Dec 25, 2017
@nodejs/v8-inspector
joyeecheung commentedon Dec 27, 2017
Technically speaking the requested information is already exposed via
process._getActiveHandles(), the missing part is probably a new domain in the inspector protocol that integrate this information.Note that with #14901 and nodejs/llnode#122 it's possible to get that information from a core dump or a running process attached by lldb.
refack commentedon Nov 11, 2018
Put into https://github.com/nodejs/node/projects/13 backlog