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).

!7

cmodule MonitorVMBusMsg > DynPrintLogAndEnabled {
  S message;
  
  start {
    dm_vmBus_onAnyMessage((msg, arg) -> {
      if (!enabled || !eqic(msg, message)) ret;
      temp enter();
      printStackTrace("Got message " + msg + "(" + arg + ")");
    });
  }
  
  visual centerAndSouthWithMargins(visualizeWithoutEnabled(),
    buttons = centerAndEastWithMargin(dm_textFieldWithLabel message(),
      dm_fieldCheckBox enabled()));
}

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: 205 / 293
Version history: 2 change(s)
Referenced in: [show references]