Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1001319 // Get your own VM inspection port

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (84L/1K/3K).

!747

m {
  p {
    L records = cast get(getJavaX(), "record_list");
    print("Num records: " + records.size());
    O android = records.get(records.size()-1);
    int port = (Integer) get(android, "port");
    print("VM Inspection Port: " + port);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001319
Snippet name: Get your own VM inspection port
Eternal ID of this version: #1001319/1
Text MD5: 19006263017e60d1b77e8fb81e6f51bb
Transpilation MD5: 4402ba868b6d0f5435f2b4d15301ad21
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-09 18:14:14
Source code size: 265 bytes / 11 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 660 / 644
Referenced in: #1001320 - myVMPort
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)