Duplicate :
|
Here are the steps to reproduce the issue. Please see the attached testcase: 1. Run the program: java -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n BreakpointBugTest 2. Attach a debugger in parallel: jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000 3. Wait some seconds in the debugger 4. Set a breakpoint in line 21 (the one starting ' int index = ...') stop at BreakpointBugTest$Runner:21 5. Now the VM chrashes. cheers, Matthias
|