Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Debugger always stops on caught exceptions #2926

@TobiaszCudnik

Description

@TobiaszCudnik

Debugger always stops on caught exceptions, both node debug and node -debug-brk.

Particularly i can't debug because of hundredths of breakpoints raised from statSync while searching for node_modules files. After adding try-catch on a method body, nothing changes. Code speaks better for itself:

fs.statSync = function(path) {
  try {
    return binding.stat(pathModule._makeLong(path));
  } catch (e){}
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions