this post was submitted on 20 Nov 2024
250 points (98.4% liked)

Programmer Humor

37227 readers
30 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Lojcs@lemm.ee 5 points 7 months ago* (last edited 7 months ago) (4 children)

Kind of unrelated, why does c sometimes fail to print if it hits a breakpoint right after a print while debugging? Or if it segfaults right after too iirc

[โ€“] targetx@programming.dev 5 points 7 months ago

Without knowing the details of C, I've seen this in other languages and it's usually something with missing a flush or a buffered output mode or something like that.

load more comments (3 replies)