0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/guides
Matheus Marchini 756a34e863
src, test: node internals' postmortem metadata
Before these changes, only V8 added postmortem metadata to Node's
binary, limiting the possibilities for debugger's developers to add some
features that rely on investigating Node's internal structures.

These changes are first steps towards empowering debug tools to
navigate Node's internal structures. One example of what can be
achieved with this is shown at nodejs/llnode#122 (a command which prints
information about handles and requests on the queue for a core dump
file). Node postmortem metadata are prefixed with nodedbg_.

This also adds tests to validate if all postmortem metadata are
calculated correctly, plus some documentation on what is postmortem
metadata and a few care to be taken to avoid breaking it.

Ref: https://github.com/nodejs/llnode/pull/122
Ref: https://github.com/nodejs/post-mortem/issues/46

PR-URL: https://github.com/nodejs/node/pull/14901
Refs: https://github.com/nodejs/post-mortem/issues/46
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2018-01-26 08:55:36 +08:00
..
contributing doc: split CONTRIBUTING.md 2018-01-24 03:23:40 +08:00
doc_img
backporting-to-release-lines.md doc: use american spelling as per style guide 2017-12-23 13:59:07 +01:00
building-node-with-ninja.md doc: update formatting to fit our 80 chars rule 2017-12-26 10:41:12 +01:00
maintaining-npm.md doc: update formatting to fit our 80 chars rule 2017-12-26 10:41:12 +01:00
maintaining-the-build-files.md src,doc,test: Fix common misspellings 2018-01-16 23:44:27 +01:00
maintaining-V8.md doc: V8 branch used in 8.x not active anymore 2018-01-18 22:40:18 +01:00
node-postmortem-support.md src, test: node internals' postmortem metadata 2018-01-26 08:55:36 +08:00
using-internal-errors.md doc: decapitalize primitive types 2018-01-12 02:47:22 +02:00
writing-and-running-benchmarks.md doc: use consistent new lines 2017-12-26 10:41:17 +01:00
writing-tests.md doc: use dashes instead of asterisks 2017-12-26 10:41:17 +01:00