devilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agoC++ Momentlemmy.worldimagemessage-square156fedilinkarrow-up11.03Karrow-down132
arrow-up1999arrow-down1imageC++ Momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 9 months agomessage-square156fedilink
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up5arrow-down1·edit-29 months agoC#: Time for a treasure hunt! Find the Null Reference Exception. Here’s a map. X marks the spot.
minus-squareKogasa@programming.devlinkfedilinkarrow-up6·9 months 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-up2·9 months 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.