debugger(3)
π¦ debugger(3) β the Erlang Module Definition π
okay so bestie, welcome to debugger π
β the Erlang Debugger, for debugging and testing of Erlang programs. yes she does both, she's multifaceted like that. it's section 3 of the manual, she's a module definition, she's iconic, periodt β¨
πΈ DESCRIPTION πΈ
bestie... the description is literally empty π not a single word. the manpage authors said "the name says it all" and moved on. so we're going straight to the functions. slay, honestly π«Ά
π FUNCTIONS π
β¨ quick(Module, Name, Args) -> term() β¨
when Module :: atom(), Name :: atom(), Args :: [term()].
debugs one single process π― β like, just the one, no entourage, main character energy only.
the module Module gets interpreted, and then apply(Module, Name, Args) gets called. this opens an "Attach Process" window π. for the deets, go check the User's Guide, iykyk.
Moduleβ an atom (the module, duh π )Nameβ an atom (the function name)Argsβ a list of terms π
β¨ start() -> term(). β¨
starts Debugger πβ¨
started by this function specifically, Debugger interprets code on all known nodes. all of them. every single one. she's not picking favorites π
β¨ start(Mode) -> term() β¨
when Mode :: local | global | wx;
β¨ (File) -> term() β¨
when File :: string().
starts Debugger π
okay so if ModeOrFile is a string, we assume it's the name of a file π, and Debugger tries to load its settings from that file. for details about settings, hit up the User's Guide π.
if ModeOrFile is the atom local, Debugger interprets code only at the current node π . if ModeOrFile is global, Debugger interprets code on all known nodes πβ¨.
heads up bestie: the signature listsMode :: local | global | wxβ yes,wxis in there π. the prose only walks throughlocalandglobal, so we're just reporting the facts as written, no cap fr fr.
β¨ start(Mode, File) -> term() β¨
when Mode :: local | global, File :: string().
starts Debugger ππ
Debugger tries to load its settings from the file named by File πβ¨. for details about settings, see the User's Guide (she said it, not me).
if Mode is local, Debugger interprets code only on the current node π .
if Mode is global, Debugger interprets code on all known nodes π.
ModeβlocalorglobalFileβ astring(), the name of the settings file
π SEE ALSO π
not a single SEE ALSO in the building π the original page genuinely doesn't have one, so there's nothing to reference. no links, no cross-refs, just vibes π¦
and that's the whole page, bestie!! that's it!! that's the tea βπ
brought to you by Ericsson AB π β debugger version 7.0, dated debugger(3), from your friendly neighborhood section 3 of the manual πβ¨
now go debug something, you absolute legend ππ«Ά
π¦ where this page comes from
- nixos 26.05: erlang 29.1.2
- nixpkgs unstable: erlang 29.1.2
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms