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

Function list

lib/internal/debugger/inspect_repl.js:687–695  ·  view source on GitHub ↗
(delta = 5)

Source from the content-addressed store, hash-verified

685
686 // List source code
687 function list(delta = 5) {
688 if (!selectedFrame) {
689 throw new ERR_DEBUGGER_ERROR('Requires execution to be paused');
690 }
691 return selectedFrame.list(delta).then(null, (error) => {
692 print("You can't list source code right now");
693 throw error;
694 });
695 }
696
697 function setContextLineNumber(delta = 2) {
698 if (!selectedFrame) {

Callers 15

json_object_hookFunction · 0.50
init_defaultsFunction · 0.50
create_total_page_statsFunction · 0.50
SetupReportGroupsFunction · 0.50
printSortedMethod · 0.50
count_lines_of_unitFunction · 0.50
MainFunction · 0.50
GeometricMeanFunction · 0.50
ToDictMethod · 0.50
find_build_directoryFunction · 0.50
GetCPUCoresRangeMethod · 0.50
MainFunction · 0.50

Calls 3

printFunction · 0.70
thenMethod · 0.45
listMethod · 0.45

Tested by 15

create_test_cmd_lineFunction · 0.40
_VerifyMockMethod · 0.40
_VerifyMockMultipleMethod · 0.40
testFileList_x64Method · 0.40
testFileList_armMethod · 0.40
_prepare_outcomesMethod · 0.40
get_android_resourcesMethod · 0.40
_simulate_procMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…