this post was submitted on 16 Jan 2024
528 points (98.7% liked)

Programmer Humor

19623 readers
23 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] 24 points 10 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 10 months ago

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