On 21/07/2020 19:48, Mantas Gridinas wrote:
Now that you mention it, this does occur while trying to use "Evaluate
expression" which spins up bytecode and evaluates it at run time. I
haven't contacted Jetbrains on this yet, but I'll open an issue on
their tracker as well.
This may be a good topic to continue on serviceability-dev as there may
be additions to be JDWP and JDI to support some of these debugger
use-cases. JVM TI has the module functions that are needed expand
readability or the packages that are exported or opened for tools doing
instrumentation and it's exactly the same support needed when generating
code in the target VM to do expression evaluation. The summary is the
it's not com.sun.jdi.VirtualMachine API or JDWP and it probably should.
-Alan.