8294547: HotSpotAgent.setupVM() should include "cause" exception when throwing DebuggerException

Reviewed-by: sspitsyn, coleenp
This commit is contained in:
Chris Plummer 2022-09-29 18:31:10 +00:00
parent 545ded1a82
commit 5f6ad926d7

View File

@ -425,7 +425,7 @@ public class HotSpotAgent {
}
catch (NoSuchSymbolException e) {
throw new DebuggerException("Doesn't appear to be a HotSpot VM (could not find symbol \"" +
e.getSymbol() + "\" in remote process)");
e.getSymbol() + "\" in remote process)", e);
}
if (startupMode != REMOTE_MODE) {