@[email protected] to Programmer [email protected] • 7 months agoC++ Momentlemmy.worldimagemessage-square158fedilinkarrow-up11.04Karrow-down132
arrow-up11.01Karrow-down1imageC++ Momentlemmy.world@[email protected] to Programmer [email protected] • 7 months agomessage-square158fedilink
minus-square@[email protected]linkfedilinkEnglish4•edit-27 months agoC#: Time for a treasure hunt! Find the Null Reference Exception. Here’s a map. X marks the spot.
minus-squareKogasalink6•7 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-square@[email protected]linkfedilinkEnglish2•7 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.