Join Bruce Van Horn for an in-depth discussion in this video Debugging exceptions in your code, part of C# Essential Training: 2 Flow Control, Arrays, and Exception Handling.
- [Instructor] Visual Studio has a very powerful…and very capable debugger built into it.…A debugger, in case you've never used one before,…is a tool that allows you to trace through your code…as it executes.…And as it executes, step through it…and check the state of the code as it's running.…This is a really powerful capability that allows you…to find bugs and mistakes and errors…that the compiler just isn't going to catch.…Now the bad news is that in an essentials training course…I'm not going to have time to really do this justice.…
But the good news is, we have an entire course…just dedicated to the debugger.…It's called Visual Studio Essential Training:…06 Debug and Troubleshoot Code with Walt Risher.…I'll mention this again at the end of the course…during the next steps video.…With that disclaimer out of the way,…I can at least show you how it works.…So why don't we add some more horribly doomed code…to our application.…I'm going to add a method below my main method…in my program class and I'll make this one private,…
AuthorBruce Van Horn
- Writing unit tests in C#
- Working with simple and multidimensional arrays
- Managing ordered and unordered data with lists
- Evaluating conditions with if-else statements
- Using OR, AND, and NOT operators
- Building loops
- Debugging and handling exceptions
- Creating the final build of your C# project
Skill Level Beginner
C# Object-Oriented Programming Tips and Trickswith Jesse Freeman58m 39s Intermediate
1. Unit Testing and Test-Driven Development
2. Arrays and Collections
3. Flow Control
4. Exception Handling
5. Getting to Production
Next steps1m 57s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.