Reputation: 31868
How can I print multiple local primitives with one command in jdb (verison 1.4)?
I've tried:
print v1, v2, v3
but that only prints out the value of v1.
Any suggestions?
Edit: Effectively I need a watch in jdb.
Upvotes: 1
Views: 6957
Reputation: 29149
Does the following do what you want?
print "" + v1 + " " + v2 + " " + v3
Upvotes: 3