Command-Line Python Debugging with pdb

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 24

  • @rishikeshagrawani7920
    @rishikeshagrawani7920 Год назад +3

    Beautiful explanation Brother!

  • @georgybachakashvili5344
    @georgybachakashvili5344 Год назад +2

    also it's good to know that you can use every or almost every pdb command by its 1st letter and for print you can just type the variable name like in interactive mode of python interpreter

    • @MerinNakarmi
      @MerinNakarmi 7 месяцев назад

      can't use c for clear, because c means continue.

  • @KEKW-lc4xi
    @KEKW-lc4xi 4 месяца назад +1

    starts at 3:55

  • @hulkiciray4281
    @hulkiciray4281 4 месяца назад

    Lucky to have this good explanation. Thanks brother

  • @Rabixter
    @Rabixter 4 месяца назад +2

    How effective is PDB for codebases with hundreds of files, and you're not just debugging the "main.py" with a basic example? What if the error I want to debug is within a different file. And how can I save breakpoints so I can re-run PDB again using the same breakpoints? Is there a way to do it without cluttering the code with "breakpoint()" statements?

  • @paulthomas1052
    @paulthomas1052 Год назад +3

    Thanks - very useful as usual !

  • @rockrollandfunk2691
    @rockrollandfunk2691 5 месяцев назад

    Can the execution line be designated/highlighted in some fashion?

  • @SunilMehra-m9g
    @SunilMehra-m9g Год назад +1

    that's what i was looking for. Thanks

  • @nangelo0
    @nangelo0 6 месяцев назад

    Is it usable in big project with lot of imports?

  • @marcuswest8085
    @marcuswest8085 Год назад +1

    Super. Subscribed. You are on the ball

  • @NandkishoreNangre
    @NandkishoreNangre Год назад

    Hi Need some help:
    I have a python executable say prog1.exe...
    I want to debug this executable using pdb ... How to do it ?

    • @NandkishoreNangre
      @NandkishoreNangre Год назад

      or any other way ?

    • @Baseballchampion
      @Baseballchampion Год назад +1

      You won't be able to use the Python Debugger (pdb) to debug a .exe file. This file type is a Windows executable file and is not a python file.

    • @NandkishoreNangre
      @NandkishoreNangre Год назад

      You are right@@Baseballchampion .. However I am asking about the python executable file created by using PyInstaller library.

  • @federico2058
    @federico2058 Год назад +3

    ⭐⭐⭐⭐⭐

  • @guilherme5094
    @guilherme5094 Год назад +1

    👍Thanks.

  • @codewithtaus
    @codewithtaus Год назад +1

    ♥️♥️♥️♥️♥️

  • @ranggatohjaya5471
    @ranggatohjaya5471 Год назад +1

    Thanks

  • @mohdqayyoomkhan2446
    @mohdqayyoomkhan2446 Год назад

  • @MarkaTaylor-l1e
    @MarkaTaylor-l1e 4 месяца назад

    Jazlyn Mission

  • @betapacket
    @betapacket Год назад +1

    2nd

  • @dancordoba7777
    @dancordoba7777 Год назад

    Thanks