Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
That's a pretty neat tool that I haven't seen before. I poked around at the backend code, and it basically works by running your code in a sandboxed JVM, attaching a custom debugger, and recording a snapshot of the stack frame and everything that it references after every line of code.
Mozilla has developed a fancy tool called rr that can enable this kind of debugging by using some fancy techniques to do essentially record incremental snapshots. Unfortunately, it's designed for C/C++ programs, and I don't think you can easily use it to debug Java code that runs inside of a JVM.