All courses

Développement

Debug Your .NET Application With Visual Studio

Start hunting down bugs with Visual Studio! Discover through concrete examples the tips, tools, and methodology for getting to the root of problems in your code and fixing errors with unit tests.
Medium
10 hours
Interested in this free-access course?

Creating an application consists of writing code for accessing and updating data structures. This seems simple but does require a good knowledge of the data structures available in .NET, together with the instructions provided in C# for organizing the execution of the code.

When something doesn’t happen as planned, we call it a bug, referring back to insects that caused electronic component malfunctions in the early valve computers. Once the code has gone off to production, it is necessary to find a means of monitoring application health and detecting runtime errors: this usually involves writing messages in files or making them accessible remotely.

However, once the deviant behavior has been identified:

  • How can you get back to the source of the problem?  

  • How can you find out which section of the code is not performing the expected process?

  • How can you access the status of the application data?

In this course, you'll learn how to hunt down bugs with Visual Studio. We’ll examine concrete cases using unit tests to present tools, methods, hints, and tips.

Join us on this course, and you'll be able to debug any .NET code!

Learning outcomes

  • Manage the execution flow in a C# unit test
  • View and edit your data in the Visual Studio debugger

Contributors

Instructors

John Altenbernd

I've been working in Web Development since its beginning. Over 25 years of programming experience with Microsoft technologies.

Christophe Nasarre

Developing, debugging and shipping software on Microsoft stacks for 25+ years. And also talking at conferences!

Created by

Last updated: 1/23/2025
License

Développement

Debug Your .NET Application With Visual Studio

Medium
10 hours
Free-access course