node-chakracore icon indicating copy to clipboard operation
node-chakracore copied to clipboard

Post Mortem Support

Open yunong opened this issue 10 years ago • 1 comments

Any thoughts on post mortem support? It's possible to generate a core dump of a V8 Node process and inspect both javascript and native objects. This is useful for many classes of problems. In particular, this helps to diagnose unexpected crashes and memory leaks.

yunong avatar Jan 19 '16 18:01 yunong

Thanks for the interest @yunong. You could use windbg to debug dump from node+chakracore. You could track unexpected crashes and memory leaks with it. An example of bug in node-serialport that I could track using windbg is voodootikigod/node-serialport#623.

However it will just support inspecting native objects and not javascript objects. We will evaluate on adding javascript debugging support in future.

kunalspathak avatar Jan 19 '16 23:01 kunalspathak