Skip to content

Commit ce10c03

Browse files
author
Jason Feinstein
committed
Update readme for 0.5
1 parent 563b004 commit ce10c03

File tree

1 file changed

+30
-17
lines changed

1 file changed

+30
-17
lines changed

README.md

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ allprojects {
2222
In your application's `build.gradle` file, add a dependency for Android DebugPort:
2323

2424
```groovy
25-
debugCompile 'com.github.jasonwyatt:Android-DebugPort:0.4'
26-
testCompile 'com.github.jasonwyatt:Android-DebugPort:0.4'
27-
releaseCompile 'com.github.jasonwyatt:Android-DebugPort-NOOP:0.4'
25+
debugCompile 'com.github.jasonwyatt:Android-DebugPort:0.5'
26+
testCompile 'com.github.jasonwyatt:Android-DebugPort:0.5'
27+
releaseCompile 'com.github.jasonwyatt:Android-DebugPort-NOOP:0.5'
2828
```
2929

3030
**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
6666
Trying 192.168.2.83...
6767
Connected to 192.168.2.83.
6868
Escape character is '^]'.
69-
BeanShell 2.0b5 - by Pat Niemeyer (pat@pat.net)
69+
BeanShell 2.0b6 - by Pat Niemeyer (pat@pat.net)
7070
bsh %
7171

7272
There are a few built in commands, to see what they are, run `help();`
7373

7474
bsh % help();
7575
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.
89102

90103
bsh %
91104

0 commit comments

Comments
 (0)