<n> <command> is totally broken in jdb. Sometimes it hangs jdb, sometimes jdb throw an exeption and sometime jdb exits with
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4F533F534F4C415249530E43505007D7 01
#
# Problematic Thread: prio=10 tid=0x9eb60 nid=0x8 runnable
#
Internal exception:
com.sun.jdi.VMDisconnectedException
at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:271)
at com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:689)
at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:54)
To reproduce the problem compile Classes.java (see attachment)
In jdb, steps:
stop in Class1:16
run Class2
10 step
10 next
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4F533F534F4C415249530E43505007D7 01
#
# Problematic Thread: prio=10 tid=0x9eb60 nid=0x8 runnable
#
Internal exception:
com.sun.jdi.VMDisconnectedException
at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:271)
at com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:689)
at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:54)
To reproduce the problem compile Classes.java (see attachment)
In jdb, steps:
stop in Class1:16
run Class2
10 step
10 next