Skip to content

Pasting a method causes crash #18

@ghost

Description

I've created an empty app, enabled debugport and then run from Android Studio on a real device.

04-15 19:51:42.065 8126-8132/com.example.live.myapplication I/zygote64: After code cache collection, code=61KB, data=51KB
    Increasing code cache capacity to 256KB
04-15 19:51:46.384 8126-9149/com.example.live.myapplication I/DebugClientConnection: Client closing:Socket[address=/10.1.1.10,port=3678,localPort=8562]
04-15 19:51:46.390 8126-9149/com.example.live.myapplication E/AndroidRuntime: FATAL EXCEPTION: Thread-9
    Process: com.example.live.myapplication, PID: 8126
    bsh.Parser$LookaheadSuccess
        at bsh.Parser.<init>(Parser.java:5981)
        at bsh.Interpreter.<init>(Interpreter.java:181)
        at bsh.Interpreter.<init>(Interpreter.java:221)
        at bsh.Interpreter.<init>(Interpreter.java:236)
        at bsh.Interpreter.<init>(Interpreter.java:247)
        at jwf.debugport.internal.debug.DebugClientConnection.run(DebugClientConnection.java:32)
        at java.lang.Thread.run(Thread.java:764)

Pasting the code from https://stackoverflow.com/a/40566060/229631 appears to cause a crash.

I'm using netcat to connect if that makes a difference.

Doing some more testing, it seems like pasting public static ArrayList<String> getConnectedDevicesMac() is enough to cause a crash.

Also seems to affect upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions