• Willem@kutsuya.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 hours ago

    printing to a console could enforce a flush, sync thread or other shenanigans.

    usually setting a breakpoint would have the same effect and gives me the suggestion of a threading issue.

    • atopi@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      the problem wasnt that the print statement fixed the bug

      the problem was that even if i removed the print statement and added a comment on that line, the bug would also be fixed