Taming the dragon: using llnode to debug your Node.js application

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • autocannon

    fast HTTP/1.1 benchmarking tool written in Node.js

    To make things interesting, let’s send some requests to this server with autocannon:

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • llnode

    An lldb plugin for Node.js and V8, which enables inspection of JavaScript states for insights into Node.js processes and their core dumps.

    The result shows us that there's an array holding a lot (156027) of objects, and is probably the reason we have so many Visit objects in memory (spoiler: it is, look at line 13 and 16 of our server). Unfortunately, llnode can't tell where this array is located yet, but there's an open issue to add this feature in the future.

  • lldb-mi

    LLDB's machine interface driver

    Fortunately, we can use this same technique with our Node.js applications! This is possible through llnode: a LLDB plugin which enables us to inspect Node.js core dumps. With llnode, we can inspect objects in the memory and look at the complete backtrace of the program, including native (C++) frames and JavaScript frames. It can be used on a running Node.js application or through a core dump.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to Create a React App

    1 project | dev.to | 4 Dec 2024
  • C++ Addons no Node.js

    2 projects | dev.to | 2 Dec 2024
  • Show HN: We created a module for developers in small to medium-sized companies

    1 project | news.ycombinator.com | 29 Nov 2024
  • My Journey Contributing to Node.js Core: The Final Chapter (3/3)

    2 projects | dev.to | 28 Nov 2024
  • Contributing to Node.js: Implementing Dynamic Colors for Test Runner Diagnostics (2/3)

    1 project | dev.to | 27 Nov 2024

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?