this post was submitted on 28 Feb 2024
1010 points (97.0% liked)
Programmer Humor
32561 readers
398 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
C#: Time for a treasure hunt! Find the Null Reference Exception. Here's a map. X marks the spot.
C# tells you the call site/method name and line number right at the top. It's only really annoying when you have aggregate exceptions, which sometimes occur because someone async'd wrong
Actually getting there is the other part. It's not like java where you can go down the chain if the problem isn't where it says it is.