You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:** The final line above will use a [no-op version of the DebugPort library](https://github.com/jasonwyatt/Android-DebugPort-NOOP) in production builds. This makes it impossible for people to run the DebugPort server on a production build.
@@ -66,26 +66,39 @@ Once started, you should see in the logs some information about where you can po
66
66
Trying 192.168.2.83...
67
67
Connected to 192.168.2.83.
68
68
Escape character is '^]'.
69
-
BeanShell 2.0b5 - by Pat Niemeyer (pat@pat.net)
69
+
BeanShell 2.0b6 - by Pat Niemeyer (pat@pat.net)
70
70
bsh %
71
71
72
72
There are a few built in commands, to see what they are, run `help();`
73
73
74
74
bsh % help();
75
75
Available Commands:
76
-
exit() Exit this interpreter
77
-
fields(Class) List all of the fields available for a particular class.
78
-
fields(Object) List all of the fields available for a particular object.
79
-
fieldsLocal(Class) List all of the fields defined locally for a particular
80
-
class.
81
-
fieldsLocal(Object) List all of the fields defined locally for an object.
82
-
help() Show this help message.
83
-
methods(Class) Get the available methods for the provided class.
84
-
methods(Object) Get the available methods for the provided object.
85
-
methodsLocal(Class) Show all of the locally-declared methods for the provided
86
-
class.
87
-
methodsLocal(Object) Show all of the locally-declared methods for the provided
88
-
object.
76
+
call(Object obj, String method, Object... params)
77
+
Call a method, regardless of access modifiers, on the provided object.
78
+
exit()
79
+
Exit this interpreter
80
+
fields(Class class)
81
+
List all of the fields available for a particular class.
82
+
fields(Object obj)
83
+
List all of the fields available for a particular object.
84
+
fieldsLocal(Class class)
85
+
List all of the fields defined locally for a particular class.
86
+
fieldsLocal(Object obj)
87
+
List all of the fields defined locally for an object.
88
+
get(Object obj, String fieldName)
89
+
Get the value of a field, regardless of access modifiers, on the provided object.
90
+
help()
91
+
Show this help message.
92
+
methods(Class class)
93
+
Get the available methods for the provided class.
94
+
methods(Object obj)
95
+
Get the available methods for the provided object.
96
+
methodsLocal(Class class)
97
+
Show all of the locally-declared methods for the provided class.
98
+
methodsLocal(Object obj)
99
+
Show all of the locally-declared methods for the provided object.
100
+
set(Object obj, String fieldName, Object value)
101
+
Set the value of a field on the provided object to the given value, regardless of access modifiers.
0 commit comments