debugger(3)

πŸ“¦
version 29.0.6 Β· 2 versions
, in nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ¦‹ 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 lists Mode :: local | global | wx β€” yes, wx is in there πŸ‘€. the prose only walks through local and global, 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 β€” local or global
  • File β€” a string(), 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