Multi-Language JDI
summary
Built a proxy JDI that wraps the standard Java JDI to make Nashorn JavaScript values look like Java objects, implements object interning, class-detection, field/property mapping, and stack-frame filtering so JavaScript-only stack traces hide Java runtime frames. Modified jdb into JJSDb for a short demo that shows filtered stacks, locals and reflective invokes of JS getters; the prototype works after a few days of work and the uploader offers boilerplate for reuse. Experimental but functional.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 2:10All experimental
- 3:14Agenda
- 3:42Terminology
- 4:40What does JDI do
- 7:32Virtual Machine Object
- 9:11Mirror Object
- 10:24StackFrame
- 10:58Wrapper
- 14:35Object Reference
- 17:50Invoke Methods
- 22:53Filtering
- 24:48Debugger








