devilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoC++ Momentlemmy.worldimagemessage-square37fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageC++ Momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square37fedilink
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up0·edit-21 year agoC#: Time for a treasure hunt! Find the Null Reference Exception. Here’s a map. X marks the spot.
minus-squareKogasa@programming.devlinkfedilinkarrow-up0·1 year agoC# 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
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up0·1 year agoActually 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.
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.