srivaidyas / student2.0

AP CSP Blog
https://srivaidyas.github.io/student2.0/AD_compsci.html
Apache License 2.0
0 stars 0 forks source link

Debugging Event Issue #42

Open srivaidyas opened 8 months ago

srivaidyas commented 8 months ago
  1. Start the backend using Debugging

    Screenshot 2024-03-08 at 12 42 01 PM
  2. Set breakpoint at the beginning of endpoint code

    Screenshot 2024-03-08 at 12 42 34 PM
  3. Start in front end with a split screen loading source for an API fetch using GET.

    Screenshot 2024-03-08 at 12 43 54 PM
  4. Set a breakpoint on fetch, inside .then, inside .fetch

    Screenshot 2024-03-08 at 3 31 00 PM
  5. Run frontend, screen capture break at fetch while examining Body

    Screenshot 2024-03-08 at 12 46 21 PM
  6. Press play on frontend, observe stop inside of backend

    Screenshot 2024-03-08 at 12 46 53 PM
  7. Press step over on backend until you have obtained data from database, screen capture Python Object

    Screenshot 2024-03-08 at 3 29 05 PM
  8. Press the play button to end the backend debugging session.

    Screenshot 2024-03-08 at 3 27 14 PM
  9. Return to frontend debug session

    Screenshot 2024-03-08 at 2 50 06 PM
  10. Step in until you see data, screen capture capturing break point and Data.