How to inspect objects in jdb?

Hi all,

I would like to know how to inpect the value an object in jdb. for example:

...

int a = 1;

String b = "hello";

Hashtable ht = new Hashtable();

ht.put("key1","someString");

>> breakpoint inserted here...

at the jdb prompt:

> print a

a = 1

>print b

b = "hello"

is it possible to inspect the value of ht.get("key1") at the jdb prompt?

thanks!!

[458 byte] By [daiwok] at [2007-9-26 14:57:22]
# 1
Hello, Why don't use use the 'dump' command ?For instance, you could call : dump ht Axelle.
AxelleA at 2007-7-2 17:13:59 > top of Java-index,Archived Forums,Debugging Tools and Techniques...