r/learncsharp • • Dec 07 '21

If you aren't using breakpoints this will open up a whole new world! If you are, you may learn something new like I did!

I created a video showing all of the different features available when using breakpoints in Visual Studio 2019.

I'm hoping this will get more people using breakpoints!! I think they are one of the best tools for learning CSharp

https://www.youtube.com/watch?v=vLAwcbLWkrQ

28 Upvotes

13 comments sorted by

11

u/SeeThreePeeDoh Dec 07 '21

Who is not using breakpoints????

4

u/darkspy13 Dec 07 '21

People who just started learning to program would probably be the best answer to your question

6

u/[deleted] Dec 07 '21

Debugging is a fundamental part of learning how to program, a beginner would 100% come across this very early on

2

u/DrFloyd5 Dec 08 '21

How long did it take you to start using breakpoints?

1

u/[deleted] Dec 08 '21

probably within the first few days I learned to start programming

7

u/PM_ME_Your_Vertcoin Dec 07 '21

print(“here”)

1

u/ItzWarty Dec 10 '21

I can't be the only one who recompiles with if (cond) Debugger.Break() frequently... right?

I just find it easier than writing cond in a textbox that lacks autocomplete. I'm pretty sure code literally runs faster when you do this too, which matters if conditions only happen after a high amount of work happens.

2

u/DrFloyd5 Dec 08 '21

I second. And they are a great tool for any language.

1

u/Shakespeare-Bot Dec 08 '21

I second. And they art a most wondrous tool f'r any language


I am a bot and I swapp'd some of thy words with Shakespeare words.

Commands: !ShakespeareInsult, !fordo, !optout

2

u/bot-killer-001 Dec 08 '21

Shakespeare-Bot, thou hast been voted most annoying bot on Reddit. I am exhorting all mods to ban thee and thy useless rhetoric so that we shall not be blotted with thy presence any longer.

1

u/40202 Dec 07 '21

Thanks! Checking this out.

1

u/_fronix Dec 20 '21

This also exists in VSCode and in most IDEs, so it's not unique to VS.

Another thing... This should be one of the first things you learn in any language, debugging is probably the most important skill to know apart from the coding part.