Jyustin / JN-CSAblog

Apache License 2.0
0 stars 0 forks source link

Individual review tri 3 data structures and debugging #6

Open Jyustin opened 7 months ago

Jyustin commented 7 months ago

copies of codemaxxer frontend and backend

https://github.com/Jyustin/codemaxxerFrontend https://github.com/Jyustin/codemaxxerBackendREAL

github stats

git1

AP WORK IS ON BLOG

debugging log

I started by testing breakpoints with login, using bad password to see how the code reacts. breakpt

I then tried logging in with right credentials Screenshot (15)

I noticed the breakpoints let me see the input my frontend code is passing to the backend authenticate method.

I lastly tried debugging with my update email method in the backend from my backend user management page. upa Wait why is the id always changing?

stepping over, the repository save line returns this upa2

Lastly, I tried using debugging to fix a bug from my backend code Screenshot 2024-03-07 121116 A bug was that changing your own email when you are logged in as that user breaks the backend. I tried using breakpoints and it stopped here, though I'm not sure where to go from here.

I cannot deny that this debugging might be helpful