我调出jdb,显示Initializing jdb...
敲入命令:
stop at debugtest.hehe:18
显示
Deferring breakpoint debugtest.hehe:18
It will be set after the class is loaded
敲入命令
stop in debugtest.test.add
显示
Deferring breakpoint debugtest.test.add
It will be set after the class is loaded
敲入其他命令,如
print bf.abc
print i
dump kk
list
locals
next
step
methods test
fields test
cont
怎么都是显示
Command '命令' is not valid until the VM is started with the 'run' command
呀,这是为什么啊?
我调出jdb,显示Initializing jdb...
敲入命令:
stop at debugtest.hehe:18
显示
Deferring breakpoint debugtest.hehe:18
It will be set after the class is loaded
敲入命令
stop in debugtest.test.add
显示
Deferring breakpoint debugtest.test.add
It will be set after the class is loaded
敲入其他命令,如
print bf.abc
print i
dump kk
list
locals
next
step
methods test
fields test
cont
怎么都是显示
Command '命令' is not valid until the VM is started with the 'run' command
呀,这是为什么啊?
// read information from server
String info;
info = input.readUTF();
System.out.println(info);
connection.close();
}
catch(SecurityException e){
System.out.println("SecurityException when connecting Server!");
}
catch(IOException e){
System.out.println("IOException when connecting Server!");
}
}