• @[email protected]
    link
    fedilink
    English
    5
    edit-2
    1 year ago

    C#: Time for a treasure hunt! Find the Null Reference Exception. Here’s a map. X marks the spot.

    • Kogasa
      link
      fedilink
      61 year ago

      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

      • @[email protected]
        link
        fedilink
        English
        21 year ago

        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.