This prevents clobbering the stack traces with another internal frame and removes the unnecessary hoops from step-debugging. PR-URL: https://github.com/nodejs/node/pull/61479 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
{ foo: [32m'bar'[39m }
|
|
string q
|
|
{ foo: [32m'bar'[39m } with object format param
|
|
|
|
Error: test
|
|
at abc (../fixtures/node_modules/bar.js:4:4)
|
|
foobar
|
|
at Object.<anonymous> [90m(*[39m*console_colors.js:*:*[90m)[39m
|
|
[90m at * (node:internal*:*:*)[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
|
|
Error: Should not ever get here.
|
|
at Object.<anonymous> [90m(*node_modules*[4m*node_modules*[24m*bar.js:*:*[90m)[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
at Object.<anonymous> [90m(*console_colors.js:*:*[90m)[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
|
|
Error
|
|
at evalmachine.<anonymous>:*:*
|
|
[90m at Script.runInThisContext (node:vm:*:*)[39m
|
|
[90m at Object.runInThisContext (node:vm:*:*)[39m
|
|
at Object.<anonymous> [90m(*[39m*console_colors.js:*:*[90m)[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|
|
[90m at *[39m
|