Hi, This is an improvement to the error message the user receives when SA attach fails on OS X. The current message is:
attach: task_for_pid(13581) failed (5) Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process This is changed to: ERROR: attach: task_for_pid(89) failed: '(os/kern) failure' (5) Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process. Could be caused by an incorrect pid or lack of privileges. webrev: http://cr.openjdk.java.net/~sla/8013364/webrev.00/ bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8013364 Thanks, /Staffan