Skip to content

console.trace not printing stack #26763

Closed
@accerqueira

Description

@accerqueira
  • Version:
    v11.11.0

  • Platform:
    Linux zeratul 4.18.0-15-generic ENOTFOUND and ECONNRESET errors #16-Ubuntu SMP Thu Feb 7 10:56:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • Subsystem:
    console

The following code seems to print a stack trace on v11.10.1 but not on v11.11.0 and v11.12.0

console.trace('show me');

Output on v11.10.1:

Trace: show me
    at Object.<anonymous> (/tmp/console-trace-no-stack.js:1:71)
    at Module._compile (internal/modules/cjs/loader.js:738:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
    at Module.load (internal/modules/cjs/loader.js:630:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
    at Function.Module._load (internal/modules/cjs/loader.js:562:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
    at internal/main/run_main_module.js:21:11

Output on v11.11.0 and v11.12.0

Trace: show me

Metadata

Metadata

Assignees

Labels

confirmed-bugIssues with confirmed bugs.consoleIssues and PRs related to the console subsystem.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions