Tips and Tricks for GraalVM and Graal Languages in IntelliJ IDEA
summary
Shows how GraalVM builds and debugs real apps: use native image heap dumps to compare snapshots (native image heap file is larger but RSS drops from ~500MB to ~170MB), enable a JDWP preview that embeds a tiny Java interpreter plus a metadata file and .so/.dylib to attach the IntelliJ Java debugger, use the GraalPy Gradle plugin to create a packaged venv and call Python via context.eval(...).as(Interface.class), and run WebAssembly/Rust (photon) for image filters with Chrome/IDE inspector stepping from JS into Rust.
AI-written summary · about
chapters (7)
- 0:00GraalVM and IntelliJ setup
- 1:23Setting up GraalVM
- 3:27Heap dumps in native images
- 11:41Debugging native images
- 23:22Embedding Python with GraalPy
- 45:36Embedding Rust via WebAssembly
- 58:13Multi-language debugging








