---
title: C# Console Debug
tags: Tutorial
---
<font color="red">C#</font> Console Debug
===
###### tags: `C#`,`Debug`,`tutorial`
<div style="text-align:justify;">This chapter describes the scheme of how debug your C# console application.
</div>
## Table of Contents
[TOC]
## 1. Scenario
When you use the C# console application you have a problem / error / does not work. Then you have to DEBUG!
## 2. Purpose
This chapter aims to make the reader understand the debugging process in C# console to easy troubleshooting and solving problems.
## 3. Step
### 3.1 Set a breakpoint on the line code you want to check

### 3.2 f5 execute program

It will stop on breakpoint to check whether the code is running normally
### 3.3 Set many breakpoint to know the place which occurs problem and fix it!
### 3.4 FINISH!
### 3.5 Delete all breakpoints
Debug menu > select Delete All Breakpoints

## 4. Reference
https://learn.microsoft.com/en-us/dotnet/core/tutorials/debugging-with-visual-studio?pivots=dotnet-6-0