What is a breakpoint in C# good for?

Experience Level: Junior
Tags: C#

Answer

  • A breakpoint is a place in a code of a computer program where the execution of the program pauses.
  • A programmer can put one or more breakpoints into the source code to define the places where the execution of the program will pause.
  • In Visual Studio a breakpoint is added to the source from code editor. Just open the .cs file, go to the line you want to place the breakpoint to and hit F9.
  • When the program execution pauses at a breakpoint location, you can inspect the variables, resume the program execution (by pressing F5) or continue executing the rest of program one statement at a time (by pressing F10).

Comments

No Comments Yet.
Be the first to tell us what you think.
C# for beginners
C# for beginners

Are you learning C# ? Try our test we designed to help you progress faster.

Test yourself

Chat

Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.

Comments

Anonymous
Καλησπέρα.
Anonymous
the infinteis -3/15 so 1triition / infinet
Anonymous
e
Anonymous
<a href="https://inspirum.pl "
Anonymous
[url]https://inspirum.pl[/url]
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e