6.2: QuickWatch & Data

Set Breakpoints & QuickWatch

In this module, we will use breakpoints and QuickWatch to see the flow of our data.

  1. Set a breakpoint:

    Breakpoint

  2. Run the app, login, and create a note

  3. Right click on the word (model) within service.CreateNote(model) and choose QuickWatch

    What to right click on

    QuickWatch in menu

  4. You should see your data in the QuickWatch window

    QuickWatch

  5. Click the Green continue arrow to go past the breakpoint. You should now see your note appear!

    Continue

    NoteShows

  6. Stop the app

Data

  1. Go the the SQL Server Object Explorer

  2. Find the database and expand the tables

  3. Right click on dbo.Note and click View Data

  4. You should see the note(s) you've created in the database

    Database

  5. Git

  6. Diagram of how the models work with the service methods:

Diagram

Next, we'll refactor some things for creating a note.

Last updated