Akhil353 / student

MIT License
0 stars 0 forks source link

Debugging Event #4

Closed Akhil353 closed 1 month ago

Akhil353 commented 7 months ago

1. Start Backend using Debugging

Screenshot 2024-03-07 at 3 26 43 PM

2. Set break point at the beginning of endpoint code

Screenshot 2024-03-07 at 3 31 17 PM

3. Start in frontend with split screen loading source for an API fetch using GET.

Screenshot 2024-03-08 at 3 42 25 PM

4/5. Set break point on fetch, inside .then, inside .fetch + Run frontend, screen capture break at fetch while

Screenshot 2024-03-08 at 3 40 37 PM

6. Press play on frontend and observe backend

Screenshot 2024-03-08 at 3 43 46 PM

7. Press step over on backend until you have obtained data from database, screen capture Python Object

Screenshot 2024-03-07 at 4 17 14 PM

10. Step in until you see data, screen capture capturing break point and Data (Data is in bottom right).

Screenshot 2024-03-08 at 3 44 45 PM
spooketti commented 6 months ago

1.82 Great work on debugging! Perhaps a bit more writing and that'd be great.

advikg commented 6 months ago

1.80/2.00 Great work on debugging, good knowledge on breakpoints. main - points for using basic login function, supposed to use a new POST method or some other method not on the site by default. Also make sure to change usernames for default accounts(toby, hop, etc.)