Skip to content

Conversation

@dzmitry-lahoda
Copy link

@dzmitry-lahoda dzmitry-lahoda commented Jul 19, 2018

teach new devs for good

debug break via f9

F9
teach new devs for good
@dzmitry-lahoda dzmitry-lahoda requested a review from mairaw as a code owner July 19, 2018 14:59
![Selecting .NET Core](media/with-visual-studio-code/selectcore.png)

5. Add a breakpoint to your project by clicking on the **editor margin**, which is the space on the left of the line numbers in the editor, next to line 9.
5. Add a breakpoint to your project by clicking on the **editor margin**, which is the space on the left of the line numbers in the editor, next to line 9, or put mouse cursor on line 9 and press <kbd>F9</kbd>.
Copy link
Contributor

@svick svick Jul 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where the breakpoint is placed when you press F9 is not controlled by the mouse cursor, but by the text cursor. So I think it's confusing to talk about the mouse cursor here and you should change it to talk about the text cursor instead.

@rpetrusha rpetrusha added the ✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository label Jul 19, 2018
Copy link
Contributor

@rpetrusha rpetrusha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing to the dotnet/docs repo, @dzmitry-lahoda, and for adding an alternate way to set a breakpoint. Ordinarily, our introductory tutorials try to show just one way to perform a UI interface action. Since customers sometimes have difficulty setting a breakpoint by clicking in the editor margin, an exception is warranted in this case. I would, however, like to you make two additional corrections before we merge your PR.

![Selecting .NET Core](media/with-visual-studio-code/selectcore.png)

5. Add a breakpoint to your project by clicking on the **editor margin**, which is the space on the left of the line numbers in the editor, next to line 9.
5. Add a breakpoint to your project by clicking on the **editor margin**, which is the space on the left of the line numbers in the editor, next to line 9, or move text cursor into line 9 in the editor and then press <kbd>F9</kbd>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move text cursor into --> move the text cursor onto
and then press --> and press

Copy link
Contributor

@rpetrusha rpetrusha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @dzmitry-lahoda, for making the additional changes. We'll merge your PR now. Your changes should appear live on docs.microsoft.com in the next day or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants