this post was submitted on 16 Jan 2024
547 points (98.8% liked)

Programmer Humor

19522 readers
400 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 25 points 9 months ago (1 children)

That gave me an idea: A variable that is only defined when observed by a debugger, otherwise it's null.

[โ€“] [email protected] 9 points 9 months ago

How about an instruction that jumps only when a debugger is attached? Cause that exists.