MCPcopy Index your code
hub / github.com/nodejs/node / print_object

Function print_object

deps/v8/tools/windbg.js:307–321  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

305}
306
307function print_object(address) {
308 let output = make_call(`_v8_internal_Print_Object(${decomp(address)})`);
309
310 // skip the first few lines with meta info of .call command
311 let skip_line = true;
312 for (let line of output) {
313 if (!skip_line) {
314 print(line);
315 continue;
316 }
317 if (line.includes("deadlocks and corruption of the debuggee")) {
318 skip_line = false;
319 }
320 }
321}
322
323function print_object_from_handle(handle_to_object) {
324 let handle = host.evaluateExpression(handle_to_object);

Callers 1

print_object_from_handleFunction · 0.85

Calls 4

make_callFunction · 0.85
decompFunction · 0.85
includesMethod · 0.80
printFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…