Gen-AI Developer Classroom notes 24/Feb/2025

Debugging

  • Copy the code Refer Here and create a new file test_program.py in folder
  • open the folder in visual studio code
  • Ensure python extension is installed
  • Put a breakpoint (on line 42) and Run python debug
    Preview
    Preview
  • We can have multiple break points, Variable values are shown in variables section and call stack shows the sequence of calls
  • Download visual studio code cheat sheet

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading