• Sibbo@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    Debuggers aren’t always the right tool for the job, such as almost any tool, right? Sometimes I write bugs for which I need information about program execution that is time-wise far away from the bug. Then it makes sense to just print the info I need and have it as an overview in the terminal. Or if I don’t know what information I needs I print information in every iteration of e.g. a complex loop into a file and later on go data mining with different tools.