Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function launchTarget(...args) {
}

{
const script = fixtures.path('inspector-cli/alive.js');
const script = fixtures.path('debugger/alive.js');
let cli = null;
let target = null;

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-auto-resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ addLibraryPath(process.env);

// Auto-resume on start if the environment variable is defined.
{
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
const scriptFullPath = fixtures.path('debugger', 'break.js');
const script = path.relative(process.cwd(), scriptFullPath);

const env = { ...process.env };
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-backtrace.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require('path');

// Display and navigate backtrace.
{
const scriptFullPath = fixtures.path('inspector-cli', 'backtrace.js');
const scriptFullPath = fixtures.path('debugger', 'backtrace.js');
const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-break.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require('path');

// Stepping through breakpoints.
{
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
const scriptFullPath = fixtures.path('debugger', 'break.js');
const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-clear-breakpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require('path');

// clearBreakpoint
{
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
const scriptFullPath = fixtures.path('debugger', 'break.js');
const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-custom-port.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// Custom port.
{
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');

const cli = startCLI([`--port=${common.PORT}`, script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-exceptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require('path');

// Break on (uncaught) exceptions.
{
const scriptFullPath = fixtures.path('inspector-cli', 'exceptions.js');
const scriptFullPath = fixtures.path('debugger', 'exceptions.js');
const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-exec-scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// exec .scope
{
const cli = startCLI([fixtures.path('inspector-cli/backtrace.js')]);
const cli = startCLI([fixtures.path('debugger/backtrace.js')]);

function onFatal(error) {
cli.quit();
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

{

const cli = startCLI([fixtures.path('inspector-cli/alive.js')]);
const cli = startCLI([fixtures.path('debugger/alive.js')]);

function onFatal(error) {
cli.quit();
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-heap-profiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const filename = 'node.heapsnapshot';

// Heap profiler take snapshot.
{
const cli = startCLI([fixtures.path('inspector-cli/empty.js')]);
const cli = startCLI([fixtures.path('debugger/empty.js')]);

function onFatal(error) {
cli.quit();
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-help.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const startCLI = require('../common/debugger');
const assert = require('assert');

{
const cli = startCLI([fixtures.path('inspector-cli/empty.js')]);
const cli = startCLI([fixtures.path('debugger/empty.js')]);

function onFatal(error) {
cli.quit();
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-invalid-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const { createServer } = require('net');
});

try {
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');
const cli = startCLI([`--port=${port}`, script]);
const code = await cli.quit();

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-launch.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const startCLI = require('../common/debugger');
const assert = require('assert');

{
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');
const cli = startCLI([script]);

cli.waitForInitialBreak()
Expand Down
4 changes: 2 additions & 2 deletions test/sequential/test-debugger-low-level.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const assert = require('assert');

// Debugger agent direct access.
{
const cli = startCLI([fixtures.path('inspector-cli/three-lines.js')]);
const scriptPattern = /^\* (\d+): \S+inspector-cli(?:\/|\\)three-lines\.js/m;
const cli = startCLI([fixtures.path('debugger/three-lines.js')]);
const scriptPattern = /^\* (\d+): \S+debugger(?:\/|\\)three-lines\.js/m;

function onFatal(error) {
cli.quit();
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-pid.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function launchTarget(...args) {
}

{
const script = fixtures.path('inspector-cli', 'alive.js');
const script = fixtures.path('debugger', 'alive.js');
let cli = null;
let target = null;

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-preserve-breaks.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require('path');

// Run after quit.
{
const scriptFullPath = fixtures.path('inspector-cli', 'three-lines.js');
const scriptFullPath = fixtures.path('debugger', 'three-lines.js');
const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function delay(ms) {

// Profiles.
{
const cli = startCLI([fixtures.path('inspector-cli/empty.js')]);
const cli = startCLI([fixtures.path('debugger/empty.js')]);

function onFatal(error) {
cli.quit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// Random port with --inspect-port=0.
{
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');

const cli = startCLI(['--inspect-port=0', script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-random-port.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// Random port.
{
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');

const cli = startCLI(['--port=0', script]);

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-run-after-quit-restart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require('path');

// Run after quit/restart.
{
const scriptFullPath = fixtures.path('inspector-cli', 'three-lines.js');
const scriptFullPath = fixtures.path('debugger', 'three-lines.js');
const script = path.relative(process.cwd(), scriptFullPath);
const cli = startCLI([script]);

Expand Down
4 changes: 2 additions & 2 deletions test/sequential/test-debugger-sb-before-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const path = require('path');

// Using sb before loading file.
{
const scriptFullPath = fixtures.path('inspector-cli', 'cjs', 'index.js');
const scriptFullPath = fixtures.path('debugger', 'cjs', 'index.js');
const script = path.relative(process.cwd(), scriptFullPath);

const otherScriptFullPath = fixtures.path('inspector-cli', 'cjs', 'other.js');
const otherScriptFullPath = fixtures.path('debugger', 'cjs', 'other.js');
const otherScript = path.relative(process.cwd(), otherScriptFullPath);

const cli = startCLI([script]);
Expand Down
6 changes: 3 additions & 3 deletions test/sequential/test-debugger-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// List scripts.
{
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');
const cli = startCLI([script]);

function onFatal(error) {
Expand All @@ -24,7 +24,7 @@ const assert = require('assert');
.then(() => {
assert.match(
cli.output,
/^\* \d+: \S+inspector-cli(?:\/|\\)three-lines\.js/m,
/^\* \d+: \S+debugger(?:\/|\\)three-lines\.js/m,
'lists the user script');
assert.doesNotMatch(
cli.output,
Expand All @@ -35,7 +35,7 @@ const assert = require('assert');
.then(() => {
assert.match(
cli.output,
/\* \d+: \S+inspector-cli(?:\/|\\)three-lines\.js/,
/\* \d+: \S+debugger(?:\/|\\)three-lines\.js/,
'lists the user script');
assert.match(
cli.output,
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-use-strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// Test for files that start with strict directive.
{
const script = fixtures.path('inspector-cli', 'use-strict.js');
const script = fixtures.path('debugger', 'use-strict.js');
const cli = startCLI([script]);

function onFatal(error) {
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-watchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assert = require('assert');

// Stepping through breakpoints.
{
const cli = startCLI([fixtures.path('inspector-cli/break.js')]);
const cli = startCLI([fixtures.path('debugger/break.js')]);

function onFatal(error) {
cli.quit();
Expand Down