• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get password for jdb?  RSS feed

 
Geoffrey Falk
Ranch Hand
Posts: 171
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having a problem using jdb. In the documentation it says that to use jdb to debug a Java program, you have to start java with the "-debug" flag. This is supposed to print out a password that can be used to attach to the running JVM of your program.
I tried this on JDK 1.3.1 and JDK 1.5.0 and in no case can I get java to print out this password. The "-debug" flag has no effect.
So, what can I do to get this to work?
Thanks
Geoffrey
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!