mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
90476ac6ee
The file no longer works after the removal of the --debug/--debug-brk
switches in commit 47f8f74
("src: remove support for --debug".)
This commit also removes several tests that still referenced the
old debugger but were either unit-testing its internals or passing
for the wrong reason (like expecting an operation to fail, which
it did because the debugger is gone.)
PR-URL: https://github.com/nodejs/node/pull/12495
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
[eval]
|
|
[eval]:1
|
|
with(this){__filename}
|
|
^^^^
|
|
SyntaxError: Strict mode code may not include a with statement
|
|
at createScript (vm.js:*:*)
|
|
at Object.runInThisContext (vm.js:*:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (bootstrap_node.js:*:*)
|
|
at startup (bootstrap_node.js:*:*)
|
|
at bootstrap_node.js:*:*
|
|
42
|
|
42
|
|
[eval]:1
|
|
throw new Error("hello")
|
|
^
|
|
|
|
Error: hello
|
|
at [eval]:1:7
|
|
at ContextifyScript.Script.runInThisContext (vm.js:*:*)
|
|
at Object.runInThisContext (vm.js:*:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (bootstrap_node.js:*:*)
|
|
at startup (bootstrap_node.js:*:*)
|
|
at bootstrap_node.js:*:*
|
|
|
|
[eval]:1
|
|
throw new Error("hello")
|
|
^
|
|
|
|
Error: hello
|
|
at [eval]:1:7
|
|
at ContextifyScript.Script.runInThisContext (vm.js:*:*)
|
|
at Object.runInThisContext (vm.js:*:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (bootstrap_node.js:*:*)
|
|
at startup (bootstrap_node.js:*:*)
|
|
at bootstrap_node.js:*:*
|
|
100
|
|
[eval]:1
|
|
var x = 100; y = x;
|
|
^
|
|
|
|
ReferenceError: y is not defined
|
|
at [eval]:1:16
|
|
at ContextifyScript.Script.runInThisContext (vm.js:*:*)
|
|
at Object.runInThisContext (vm.js:*:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (bootstrap_node.js:*:*)
|
|
at startup (bootstrap_node.js:*:*)
|
|
at bootstrap_node.js:*:*
|
|
|
|
[eval]:1
|
|
var ______________________________________________; throw 10
|
|
^
|
|
10
|
|
|
|
[eval]:1
|
|
var ______________________________________________; throw 10
|
|
^
|
|
10
|
|
done
|