3 ms·
You can debug Java code without running into this issue; the problem is when you try to debug the JVM itself.
by saagarjha 7y ago
You can debug Java code without running into this issue; the problem is when you try to debug the JVM itself.
- fierarul 7y agoI'm not quite certain what this means. So, if my JVM forks another JVM that will debug just fine? Or even that won't work as in I won't be able to add a breakpoint inside some standard Java class?
- saagarjha 7y agoYou won't be able to set a breakpoint inside native code: the JVM itself, and any JNI libraries it loads (assuming they too are signed the same way) are off limits. But setting a breakpoint in a Java class should be fine, because that inside the virtual machine and doesn't require special entitlements.
- fierarul 7y agoThank you. This was quite illuminating.