Improve -verbose:jdwp.

Move toward automated logging instead of ad hoc logging in every command.

Change-Id: I55427022374390745209677bae4e0b3146a9d126
diff --git a/src/debugger.cc b/src/debugger.cc
index 5db7bf5..49c29ba 100644
--- a/src/debugger.cc
+++ b/src/debugger.cc
@@ -1140,12 +1140,18 @@
   }
 }
 
-std::string Dbg::GetMethodName(JDWP::RefTypeId, JDWP::MethodId method_id)
+std::string Dbg::GetMethodName(JDWP::MethodId method_id)
     SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
   AbstractMethod* m = FromMethodId(method_id);
   return MethodHelper(m).GetName();
 }
 
+std::string Dbg::GetFieldName(JDWP::FieldId field_id)
+    SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
+  Field* f = FromFieldId(field_id);
+  return FieldHelper(f).GetName();
+}
+
 /*
  * Augment the access flags for synthetic methods and fields by setting
  * the (as described by the spec) "0xf0000000 bit".  Also, strip out any