Skip to content

console.trace not printing stack #26763

Closed

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

Activity

  1. accerqueira commented on Mar 19, 2019

    @accerqueira
    Author

    Is that a current branch thing? Or maybe there is some environment variable that I need to set, for this to work?

  2. devsnek commented on Mar 19, 2019

    @devsnek
    Member
  3. added
    confirmed-bugIssues and PRs for confirmed bugs.
    consoleIssues and PRs related to the console subsystem.
    on Mar 19, 2019
  4. BridgeAR commented on Mar 19, 2019

    @BridgeAR
    Member

    This is a recent regression. Thank's for reporting this!

  5. self-assigned this
    on Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

confirmed-bugIssues and PRs for 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