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

11
LINES

< > BotCompany Repo | #1032692 // debugging

JavaX fragment (include)

scope debugging

static new ThreadLocal<Bool> #var;

sbool debugging() {
  ret isTrue(var!);
}

static AutoCloseable tempDebug() {
  ret tempSetTL(var, true);
}

Author comment

Began life as a copy of #1009139

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032692
Snippet name: debugging
Eternal ID of this version: #1032692/4
Text MD5: 268943e7a1b71c3e60c9d3d0e250b329
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-02 01:06:00
Source code size: 170 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 161
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)