Hey guys! I'm going to be starting a bit of a mini-series where I show you guys how to debug and fix C# programs and the various crashes you'll get when something goes wrong.
What better thing to start off with than a NullReferenceException in the code of a Packard Bell BIOS mock-up by my friend Richie? This one is a simple one, but it'll show you how I use the call stack and Locals window to find out where in the .NET Framework the exception was thrown and what variable reference was null. Based on those findings, I can very easily figure out what the actual bug is.
In this case, an attempt was made to set the Font property of an uninitialized Label variable.
Music by Anders Enger Jensen
https://eox.no/shop
/ eox-studios
http://the8bitguy.com/shop
Visit WG's website: https://watercolorgames.net/
Stalk me on Twitter: / theplexgate
On this page of the site you can watch the video online How to Debug C# Programs #1: NullReferenceException, Histacom BIOS mock-up with a duration of hours minute second in good quality, which was uploaded by the user acidic light 28 June 2018, share the link with friends and acquaintances, this video has already been watched 1,832 times on youtube and it was liked by 12 viewers. Enjoy your viewing!