-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
node 5.5, windows 8.1
Following code crashes the debugger (it exits the app on "util.format" without an error message).
var util = require("util");
var obj = { 1: "fasdadsaas", 2: "safsdafdsafsadfad" };
var message = util.format("Format the object: %O", obj);
var i = 1;
Reproducible through "node debug formatBug.js", as well as node-inspector and Visual Studio Code.
For us it's quite severe because we are logging to the console extensively during development. "console.log" uses "util.format" and therefore crashes the debugger.
Thanks
mind
Metadata
Metadata
Assignees
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.