node/lib/internal/bootstrap
Joyee Cheung 2ae45d3b17
process: start coverage collection before bootstrap
This patch moves the dispatch of `Profiler.takePreciseCoverage`
to a point before the bootstrap scripts are run to ensure that
we can collect coverage data for all the scripts run after
the inspector agent is ready.

Before this patch `lib/internal/bootstrap/primordials.js` was not
covered by `make coverage`, after this patch it is.

PR-URL: https://github.com/nodejs/node/pull/26006
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-02-18 17:37:33 +08:00
..
cache.js lib: move per_context.js under lib/internal/bootstrap 2019-02-13 06:11:41 +08:00
context.js lib: move per_context.js under lib/internal/bootstrap 2019-02-13 06:11:41 +08:00
loaders.js process: start coverage collection before bootstrap 2019-02-18 17:37:33 +08:00
node.js process: delay setup of global exception handlers 2019-02-16 00:16:11 +01:00
pre_execution.js process: group main thread execution preparation code 2019-02-10 16:33:57 +08:00
primordials.js src: use PauseOnNextJavascriptStatement to implement --inspect-brk-node 2019-02-18 07:52:47 +01:00