alibaba/arthas ? reverse-engineered prompt

Reverse engineered prompt

Build me a Java troubleshooting tool like Arthas that I can attach to a running JVM without restarting it or changing the app code.

I want a command line experience where I can inspect what classes are loaded, decompile a class, view class loader info, watch method calls with parameters and return values, see stack traces, trace slow calls, and check basic system info like threads, CPU, and GC. It should work locally and remotely, and have a browser based console too if that fits.

Please make it feel like a real production debugging tool, fast to attach, safe to use while the app is live, and usable on Linux, Mac, and Windows. If you need to look up current docs or best practices online, go ahead. Also make sure there’s a clean way to package it, run a demo, and start it against an existing Java process.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab