filmov
tv
Python Tutorial: Debugging logic errors by hand tracing your code

Показать описание
In this video I show you how to debug logic errors using a technique known as hand tracing, or tracing your code, or desk checking your code. It goes by a lot of names, but the idea is simple: use your brain as the CPU, use a piece of paper as memory, and then step through each line of code, one line at a time, updating your memory (the piece of paper) as you go.
By doing this, you will almost always be able to track down your errors.
Debugger programs simply automate this process for you somewhat. So, if you don't know how to do this, you won't know how to use a debugger program.
This is a MUST HAVE SKILL.
It can also help you to understand tricky code you didn't write yourself as well as algorithms written in pseudocode or plain language.
By doing this, you will almost always be able to track down your errors.
Debugger programs simply automate this process for you somewhat. So, if you don't know how to do this, you won't know how to use a debugger program.
This is a MUST HAVE SKILL.
It can also help you to understand tricky code you didn't write yourself as well as algorithms written in pseudocode or plain language.
Python Tutorial: Debugging logic errors by hand tracing your code
Syntax, Runtime and Logical Errors in Python
Syntax Errors, Logical Errors and Runtime Errors in Python - Debugging in Python
How to Debug and Handle Errors in Python
Part - 7| Unit 2 | Python |11 IP | Debugging |Syntax Error | Logical Error | Runtime Error |
Understanding and Debugging Logical Errors in Python #s4ep2 #education #everyone
How To Handle, Debug and FIX ERRORS In Your Python Code
Tutorial 10 Python Programming - Errors in Programming- Syntax/Runtime/Logical
Debugging Python Code Tutorial
Python Tutorial - Introduction to DEBUGGING
7. Testing, Debugging, Exceptions, and Assertions
04 - Debugging Errors in Python
Errors And Exception Handling In Python | Python Debugging Tutorial
Debugging with stack traces | Intro to CS - Python | Khan Academy
How Programmers ACTUALLY Debug Code #shorts
Python Programming || Debugging || Types of Errors || XI || Informatics Practices
Handling Logic Errors in a Python Application Using Decision Structures
Python Tutorial for Beginners 2021 - Errors - Debugging
NSW Software Engineering Topic 1 Python: Part 8 - Errors and debugging tools
Python 🐍 Pseudo-Code / Debug
Exploring the Built-in Debugger for Python's IDLE
Debug on Python
Techniques to debug a program in Python| Error, Exception and Debugging
Program Debugging in C/C++ | What is syntax, runtime and logical errors with example program
Комментарии