mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
src: add PrintLibuvHandleInformation debug helper
This function is not only helpful for debugging crashes, but can also be used as an ad-hoc debugging statement. PR-URL: https://github.com/nodejs/node/pull/25905 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
3 files changed
+26
-13
No files matched your search
@@ -89,7 +89,7 @@ if (process.argv[2] === 'child') {
|
||||
|
||||
switch (state) {
|
||||
case 'initial':
|
||||
assert(/^uv loop at \[.+\] has active handles$/.test(line), line);
|
||||
assert(/^uv loop at \[.+\] has \d+ active handles$/.test(line), line);
|
||||
state = 'handle-start';
|
||||
break;
|
||||
case 'handle-start':
|
||||
|
||||
Reference in new issue
Block a user