mirror of
https://github.com/nodejs/node.git
synced 2026-12-06 11:48:45 -05:00
The command line flag `--debug-brk` was ignored when the `-e` flag was also present. This change allows the flags to both be honored when they are used in a single command line. PR-URL: https://github.com/nodejs/node/pull/7089 Fixes: https://github.com/nodejs/node/issues/3589 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
31 lines
932 B
Plaintext
31 lines
932 B
Plaintext
beginning
|
|
|
|
foo.vm:1
|
|
var 4;
|
|
^
|
|
SyntaxError: Unexpected number
|
|
at Object.exports.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*vm_display_syntax_error.js:*)
|
|
at Module._compile (module.js:*)
|
|
at Object.Module._extensions..js (module.js:*)
|
|
at Module.load (module.js:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*)
|
|
at Module.runMain (module.js:*)
|
|
at run (node.js:*)
|
|
at startup (node.js:*)
|
|
test.vm:1
|
|
var 5;
|
|
^
|
|
SyntaxError: Unexpected number
|
|
at Object.exports.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*vm_display_syntax_error.js:*)
|
|
at Module._compile (module.js:*)
|
|
at Object.Module._extensions..js (module.js:*)
|
|
at Module.load (module.js:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*)
|
|
at Module.runMain (module.js:*)
|
|
at run (node.js:*)
|
|
at startup (node.js:*)
|