blt::bltdebug(3tcl)
β¨ NAME β¨
bltdebug β bestie, it prints your Tcl commands before they even run π
π SYNOPSIS π
bltdebug ?level?
π¦ DESCRIPTION π¦
okay so bltdebug is literally the simplest little tracing facility for Tcl commands, and she is that girl for when you're like "wait what is even happening in here" πβ¨
Every command line gets printed before it's executed, and it goes to standard error β not stdout, bestie, keep your actual output clean πΈ
The output is giving β¨ both β¨ β you get the command line before substitutions have occurred and after substitutions have occurred. So you can see what you typed and what Tcl turned it into. Obsessed, honestly π
levelβ this tells it at what level to stop tracing commands.- If
levelis0, no tracing is performed at all. And yes, that's the default β she's off until you ask, no cap π - If you don't give a
levelargument at all? Then the current level is printed instead. Just a lil vibe check on where you're at π
- If
ngl,levelis the whole entire personality of this command. Set it, or don't β but know that0means silence and no argument means "tell me where I'm at" π«Ά
π KEYWORDS π
debug
that's the whole page, bestie β go trace some commands and slay π
πΈ this one's from the BLT Built-In Commands manual, BLT version 2.5, filed under blt::bltdebug(3tcl) β mwah, periodt π
π
π¦ where this page comes from
- debian bookworm: blt-dev 2.5.3+dfsg-4.1
- debian trixie: blt-dev 2.5.3+dfsg-8
- ubuntu jammy: blt-dev 2.5.3+dfsg-4.1build2
- ubuntu noble: blt-dev 2.5.3+dfsg-7build1
- ubuntu questing: blt-dev 2.5.3+dfsg-8
- ubuntu resolute: blt-dev 2.5.3+dfsg-8build1
- ubuntu stonking: blt-dev 2.5.3+dfsg-9
- Copyright 1991-1997 by Bell Labs Innovations for Lucent Technologies
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms