• Omega_Haxors
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    10 months ago

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

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      10 months 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

      • Omega_Haxors
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months 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.