Libraryless. Click here for Pure Java version (4508L/25K).
static <A extends Throwable> A printStackTrace(A e) { // we go to system.out now - system.err is nonsense if (e != null) print(getStackTrace(e)); ret e; } static void printStackTrace() { printStackTrace(new Throwable()); } static void printStackTrace(S msg) { printStackTrace(new Throwable(msg)); } static void printStackTrace(S msg, Throwable e) { printStackTrace(new Throwable(msg, e)); }
download show line numbers debug dex old transpilations
Travelled to 24 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, jtubtzbbkimh, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, mqsvbyillbrs, odhhsrjjbcgr, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1002288 |
Snippet name: | printStackTrace |
Eternal ID of this version: | #1002288/8 |
Text MD5: | 1305dc40cb8b9e292d74756671c21f77 |
Transpilation MD5: | 55fdbbf83c540907681b2db4f2fcd878 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 14:56:56 |
Source code size: | 421 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 931 / 5621 |
Version history: | 7 change(s) |
Referenced in: | [show references] |