| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cf4dc80 commit 352a600
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) | |
@@ -506,6 +506,34 @@ Sampling interval in microseconds. | |||
| 506 | 506 | Throws an `AssertionError` if there are no call frames with the expected | |
| 507 | 507 | `suffix` in the profiling data contained in `file`. | |
| 508 | 508 | ||
| 509 | + ## Debugger module | ||
| 510 | + | ||
| 511 | + Provides common functionality for tests for `node inspect`. | ||
| 512 | + | ||
| 513 | + ### `startCLI(args[[, flags], spawnOpts])` | ||
| 514 | + | ||
| 515 | + * `args` [<string>][] | ||
| 516 | + * `flags` [<string>][] default = [] | ||
| 517 | + * `showOpts` [<Object>][] default = {} | ||
| 518 | + * return [<Object>][] | ||
| 519 | + | ||
| 520 | + Returns a null-prototype object with properties that are functions and getters | ||
| 521 | + used to interact with the `node inspect` CLI. These functions are: | ||
| 522 | + | ||
| 523 | + * `flushOutput()` | ||
| 524 | + * `waitFor()` | ||
| 525 | + * `waitForPrompt()` | ||
| 526 | + * `waitForInitialBreak()` | ||
| 527 | + * `breakInfo` | ||
| 528 | + * `ctrlC()` | ||
| 529 | + * `output` | ||
| 530 | + * `rawOutput` | ||
| 531 | + * `parseSourceLines()` | ||
| 532 | + * `writeLine()` | ||
| 533 | + * `command()` | ||
| 534 | + * `stepCommand()` | ||
| 535 | + * `quit()` | ||
| 536 | + | ||
| 509 | 537 | ## `DNS` Module | |
| 510 | 538 | ||
| 511 | 539 | The `DNS` module provides utilities related to the `dns` built-in module. | |
@@ -824,34 +852,6 @@ upon initial establishment of a connection. | |||
| 824 | 852 | socket.write(http2.kClientMagic); | |
| 825 | 853 | ``` | |
| 826 | 854 | ||
| 827 | - ## Inspector CLI module | ||
| 828 | - | ||
| 829 | - Provides common functionality for tests for `node inspect`. | ||
| 830 | - | ||
| 831 | - ### `startCLI(args[[, flags], spawnOpts])` | ||
| 832 | - | ||
| 833 | - * `args` [<string>][] | ||
| 834 | - * `flags` [<string>][] default = [] | ||
| 835 | - * `showOpts` [<Object>][] default = {} | ||
| 836 | - * return [<Object>][] | ||
| 837 | - | ||
| 838 | - Returns a null-prototype object with properties that are functions and getters | ||
| 839 | - used to interact with the `node inspect` CLI. These functions are: | ||
| 840 | - | ||
| 841 | - * `flushOutput()` | ||
| 842 | - * `waitFor()` | ||
| 843 | - * `waitForPrompt()` | ||
| 844 | - * `waitForInitialBreak()` | ||
| 845 | - * `breakInfo` | ||
| 846 | - * `ctrlC()` | ||
| 847 | - * `output` | ||
| 848 | - * `rawOutput` | ||
| 849 | - * `parseSourceLines()` | ||
| 850 | - * `writeLine()` | ||
| 851 | - * `command()` | ||
| 852 | - * `stepCommand()` | ||
| 853 | - * `quit()` | ||
| 854 | - | ||
| 855 | 855 | ## Internet Module | |
| 856 | 856 | ||
| 857 | 857 | 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