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

17
LINES

< > BotCompany Repo | #1026655 // Monitor VM bus message [with stack traces]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4990L/25K).

1  
!7
2  
3  
cmodule MonitorVMBusMsg > DynPrintLogAndEnabled {
4  
  S message;
5  
  
6  
  start {
7  
    dm_vmBus_onAnyMessage((msg, arg) -> {
8  
      if (!enabled || !eqic(msg, message)) ret;
9  
      temp enter();
10  
      printStackTrace("Got message " + msg + "(" + arg + ")");
11  
    });
12  
  }
13  
  
14  
  visual centerAndSouthWithMargins(visualizeWithoutEnabled(),
15  
    buttons = centerAndEastWithMargin(dm_textFieldWithLabel message(),
16  
      dm_fieldCheckBox enabled()));
17  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026655
Snippet name: Monitor VM bus message [with stack traces]
Eternal ID of this version: #1026655/3
Text MD5: f0641ce789cf205114319d9ab4fd98a9
Transpilation MD5: 0f7637e13dacdcd023b8db408ae8d87a
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-18 17:22:20
Source code size: 454 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 135 / 216
Version history: 2 change(s)
Referenced in: [show references]