Commit 2a60e2ad authored by cjihrig's avatar cjihrig
Browse files

module,src: do not wrap modules with -1 lineOffset

In b799a747 and
dfee4e37 the module wrapping
mechanism was changed for better error reporting. However,
the changes causes issues with debuggers and profilers. This
commit reverts the wrapping changes.

Fixes: https://github.com/nodejs/node/issues/4297
PR-URL: https://github.com/nodejs/node/pull/4298


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarAli Ijaz Sheikh <ofrobots@google.com>
parent 4b267df9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment