I'm learning JDB and running into a bit of a paradox. After starting JDB (with "jdb ClassName") most tutorials will tell me to type
> methods ClassName
to see a list of available methods so that I can set my breakpoints. If I do that, JDB replies
Command 'methods' is not valid until the VM is started with the 'run' command
Of course, if I say "run" before setting any breakpoints, it runs straight through; not very helpful. The only thing I can conclude is that jdb expects you to set your breakpoints blind, but this seems like such a gross oversight, I'm holding out that I'm simply missing a command.
Many thanks!! Joyce