| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e12164e commit 72a3419
26 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,14 +9,14 @@ This directory contains modules used to test the Node.js implementation. | |||
| 9 | 9 | * [Common module API](#common-module-api) | |
| 10 | 10 | * [Countdown module](#countdown-module) | |
| 11 | 11 | * [CPU Profiler module](#cpu-profiler-module) | |
| 12 | + * [Debugger module](#debugger-module) | ||
| 12 | 13 | * [DNS module](#dns-module) | |
| 13 | 14 | * [Duplex pair helper](#duplex-pair-helper) | |
| 14 | 15 | * [Environment variables](#environment-variables) | |
| 15 | 16 | * [Fixtures module](#fixtures-module) | |
| 16 | 17 | * [Heap dump checker module](#heap-dump-checker-module) | |
| 17 | 18 | * [hijackstdio module](#hijackstdio-module) | |
| 18 | 19 | * [HTTP2 module](#http2-module) | |
| 19 | - * [Inspector CLI module](#inspector-cli-module) | ||
| 20 | 20 | * [Internet module](#internet-module) | |
| 21 | 21 | * [ongc module](#ongc-module) | |
| 22 | 22 | * [Report module](#report-module) | |
@@ -513,6 +513,34 @@ Sampling interval in microseconds. | |||
| 513 | 513 | Throws an `AssertionError` if there are no call frames with the expected | |
| 514 | 514 | `suffix` in the profiling data contained in `file`. | |
| 515 | 515 | ||
| 516 | + ## Debugger module | ||
| 517 | + | ||
| 518 | + Provides common functionality for tests for `node inspect`. | ||
| 519 | + | ||
| 520 | + ### `startCLI(args[[, flags], spawnOpts])` | ||
| 521 | + | ||
| 522 | + * `args` [<string>][] | ||
| 523 | + * `flags` [<string>][] default = [] | ||
| 524 | + * `showOpts` [<Object>][] default = {} | ||
| 525 | + * return [<Object>][] | ||
| 526 | + | ||
| 527 | + Returns a null-prototype object with properties that are functions and getters | ||
| 528 | + used to interact with the `node inspect` CLI. These functions are: | ||
| 529 | + | ||
| 530 | + * `flushOutput()` | ||
| 531 | + * `waitFor()` | ||
| 532 | + * `waitForPrompt()` | ||
| 533 | + * `waitForInitialBreak()` | ||
| 534 | + * `breakInfo` | ||
| 535 | + * `ctrlC()` | ||
| 536 | + * `output` | ||
| 537 | + * `rawOutput` | ||
| 538 | + * `parseSourceLines()` | ||
| 539 | + * `writeLine()` | ||
| 540 | + * `command()` | ||
| 541 | + * `stepCommand()` | ||
| 542 | + * `quit()` | ||
| 543 | + | ||
| 516 | 544 | ## `DNS` Module | |
| 517 | 545 | ||
| 518 | 546 | The `DNS` module provides utilities related to the `dns` built-in module. | |
@@ -831,34 +859,6 @@ upon initial establishment of a connection. | |||
| 831 | 859 | socket.write(http2.kClientMagic); | |
| 832 | 860 | ``` | |
| 833 | 861 | ||
| 834 | - ## Inspector CLI module | ||
| 835 | - | ||
| 836 | - Provides common functionality for tests for `node inspect`. | ||
| 837 | - | ||
| 838 | - ### `startCLI(args[[, flags], spawnOpts])` | ||
| 839 | - | ||
| 840 | - * `args` [<string>][] | ||
| 841 | - * `flags` [<string>][] default = [] | ||
| 842 | - * `showOpts` [<Object>][] default = {} | ||
| 843 | - * return [<Object>][] | ||
| 844 | - | ||
| 845 | - Returns a null-prototype object with properties that are functions and getters | ||
| 846 | - used to interact with the `node inspect` CLI. These functions are: | ||
| 847 | - | ||
| 848 | - * `flushOutput()` | ||
| 849 | - * `waitFor()` | ||
| 850 | - * `waitForPrompt()` | ||
| 851 | - * `waitForInitialBreak()` | ||
| 852 | - * `breakInfo` | ||
| 853 | - * `ctrlC()` | ||
| 854 | - * `output` | ||
| 855 | - * `rawOutput` | ||
| 856 | - * `parseSourceLines()` | ||
| 857 | - * `writeLine()` | ||
| 858 | - * `command()` | ||
| 859 | - * `stepCommand()` | ||
| 860 | - * `quit()` | ||
| 861 | - | ||
| 862 | 862 | ## Internet Module | |
| 863 | 863 | ||
| 864 | 864 | The `common/internet` module provides utilities for working with | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | const { spawn } = require('child_process'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | const { addLibraryPath } = require('../common/shared-lib-util'); | |
| 9 | 9 | ||
| 10 | 10 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | const path = require('path'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | const path = require('path'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | const path = require('path'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | const path = require('path'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ const common = require('../common'); | |||
| 4 | 4 | common.skipIfInspectorDisabled(); | |
| 5 | 5 | ||
| 6 | 6 | const fixtures = require('../common/fixtures'); | |
| 7 | - const startCLI = require('../common/inspector-cli'); | ||
| 7 | + const startCLI = require('../common/debugger'); | ||
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| 10 | 10 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments