public static String fields() {
ThreadReference threadRef = checkAndGetCurrentThread();
SuspendThreadStack threadStack = SuspendThreadStack.getInstance();
StringBuilder sb = new StringBuilder();
try {
StackFrame stackFrame = threadRef.frame(threadStack.getCurFrame());
ObjectReference thisObj = stackFrame.thisObject();
Map<Field, Value> values = thisObj.getValues(thisObj.referenceType().visibleFields());
List<String> fieldNames = new ArrayList<String>();
for (Field field : values.keySet()) {
fieldNames.add(field.name());