agent/src/share/classes/sun/jvm/hotspot/CLHSDB.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/CLHSDB.java Fri Sep 9 14:15:42 2011
--- new/agent/src/share/classes/sun/jvm/hotspot/CLHSDB.java Fri Sep 9 14:15:41 2011
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 168,177 ****
--- 168,178 ----
}
catch (DebuggerException e) {
final String errMsg = formatMessage(e.getMessage(), 80);
System.err.println("Unable to connect to process ID " + pid + ":\n\n" + errMsg);
agent.detach();
+ e.printStackTrace();
return;
}
}
/** NOTE we are in a different thread here than either the main
*** 189,198 ****
--- 190,200 ----
}
catch (DebuggerException e) {
final String errMsg = formatMessage(e.getMessage(), 80);
System.err.println("Unable to open core file\n" + corePath + ":\n\n" + errMsg);
agent.detach();
+ e.printStackTrace();
return;
}
}
/** NOTE we are in a different thread here than either the main
*** 207,216 ****
--- 209,219 ----
}
catch (DebuggerException e) {
final String errMsg = formatMessage(e.getMessage(), 80);
System.err.println("Unable to connect to machine \"" + remoteMachineName + "\":\n\n" + errMsg);
agent.detach();
+ e.printStackTrace();
return;
}
}
private void detachDebugger() {
agent/src/share/classes/sun/jvm/hotspot/CLHSDB.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File