…what is that? 🐍👀

Поделиться
HTML-код
  • Опубликовано: 24 сен 2024
  • Did you know VS Code is the only place you can run Jupyter cells line-by-line? 👀 #shorts
    Python + Jupyter extension for VS Code: aka.ms/get-not...

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

  • @TheSpacecraftX
    @TheSpacecraftX 2 года назад +661

    Isn't this what watch the debugger has always shown for variable and watch statements anyway? And not language specific to python or notebooks?

    • @miniflint2423
      @miniflint2423 2 года назад +37

      yeo. almost all languages have a debugger

    • @aws-china
      @aws-china 2 года назад

      yes

    • @atemuren
      @atemuren 2 года назад +105

      @@miniflint2423 french needs a debugger tbh

    • @miniflint2423
      @miniflint2423 2 года назад +4

      @@atemuren good thing im not french then

    • @shadamethyst1258
      @shadamethyst1258 2 года назад +3

      gdb does that, with "break", "step" and "info locals"

  • @light-gray
    @light-gray 2 года назад +344

    That "WHAT IS THAT" is concerning at best

    • @adheesh2secondsago630
      @adheesh2secondsago630 2 года назад +3

      Your pfp don't even match yt's dark theme...

    • @L2002
      @L2002 2 года назад +13

      @@adheesh2secondsago630 why would it?

    • @igorskyflyer
      @igorskyflyer 2 года назад +3

      That's Cardy 😂

    • @manaspradhan8041
      @manaspradhan8041 2 года назад

      @@L2002 it's not even light gray

  • @it_is_ni
    @it_is_ni 2 года назад +65

    Also called “step debugging”.

  • @anthonybillon1360
    @anthonybillon1360 2 года назад +41

    next step : the possibility to stop the code at certain lines can't wait to have that

  • @gt-gameandtech835
    @gt-gameandtech835 2 года назад +80

    Debugger: Am I a joke to you?

  • @niccster1061
    @niccster1061 2 года назад +4

    Congratulations. Debugging is infact a thing

  • @AJIADb9
    @AJIADb9 2 года назад +113

    OMG IS THIS DEBUGGING?!

    • @claudiaregio
      @claudiaregio 2 года назад +1

      This is debugging lite… :) we also have support for full debugging in jupyter notebooks 👀👀

    • @theomegamale5335
      @theomegamale5335 2 года назад

      For a lot of juniors yes

    • @mustafaehsani3552
      @mustafaehsani3552 2 года назад

      @@claudiaregio hey.
      I am a new student.
      How do I download the debugger?

    • @claudiaregio
      @claudiaregio 2 года назад

      @@mustafaehsani3552 if you are using the jupyter notebooks extension in VS Code and using Python, this "debugging lite" experience will automatically be available for you. You'll just need to make sure you have ipykernel version 6 or higher installed in your active environment for it to work

    • @mustafaehsani3552
      @mustafaehsani3552 2 года назад +1

      @@claudiaregio thank you for your help

  • @jdeg6229
    @jdeg6229 2 года назад +48

    When she said wait a minute I expected "Who ahre you"

  • @LordErnie
    @LordErnie 2 года назад +94

    And in visual studio I can just set a breakpoint, go line by line AND it can work for an async workflow as well. Not only that, we have something called viewers and explorers that just tell me what variables are alive during execution, even the ones that the compiler makes (of course in a sepperate tab). Congrat, print statements could just as well be a debug log to a file for all that thing cares. But it's cool and helpfull though, saves me the pain of breakpoints =)

    • @und0
      @und0 2 года назад +10

      you still use that legacy ide? Even for .NET stuff vscode is taking over, no wonder because vs is rigid and clunky... Btw not tryna start a yt argument just think it's time to let go of good ol' vs and move onto vsc.

    • @pratyakshyt
      @pratyakshyt 2 года назад +2

      Vsc is best

    • @reimnop
      @reimnop 2 года назад +8

      @@und0 people use what they want to use

    • @toni9305
      @toni9305 2 года назад +6

      @@und0 I mean, the first things people do with vs code is download extensions to achieve the same behaviour as in vs, vs code doesn't even have the tab out functionality out of the box

    • @kingbrianmendes
      @kingbrianmendes 2 года назад

      What version of Visual Studio you are using?

  • @itsTyrion
    @itsTyrion 2 года назад

    Very useful feature
    I recall doing it in IntelliJ 4-5 years ago

  • @kga1196
    @kga1196 2 года назад

    VsCode is dope for it's ability to use Jupyter Notebooks within the app, but all good text editors should have some sort of debugging feature.

  • @ashlandwithouttheshd
    @ashlandwithouttheshd 2 года назад

    Omg what a cool feature that has been available literally for decades

  • @ganjarulez009
    @ganjarulez009 2 года назад +11

    Lol that's just debugging :D

  • @homersimpson4532
    @homersimpson4532 2 года назад +3

    I don’t understand how people don’t come across breakpoints when they first learn how to code. Blows the mind

    • @KayOScode
      @KayOScode 2 года назад

      I knew they existed from the beginning, I just didnt care to use them. Partly because I was using gdb which is command line based debugging and its a pain

    • @salarsan12
      @salarsan12 2 года назад

      It’s usually cause they are python developers. Literal sub human programmers

    • @KayOScode
      @KayOScode 2 года назад

      @@salarsan12 tru

  • @theITGuy-no3nt
    @theITGuy-no3nt 2 года назад

    Works for most languages, not just Python

  • @skippydinggledank5217
    @skippydinggledank5217 2 года назад

    THANK YOU🙏🙏🙏

  • @blai8
    @blai8 2 года назад

    I usually make a function debug(str) wich just prints the input, just to have a difference between actual prints and debugs

  • @69k_gold
    @69k_gold 2 года назад

    Rookies: Why do you code in VSCode? I heard it's not even an IDE
    Senior programmers:

  • @iodinex64
    @iodinex64 2 года назад

    Breaking: VSCode users discover what a "debugger" is.

  • @fedos
    @fedos 2 года назад +2

    Thank you!

  • @Gunbudder
    @Gunbudder 2 года назад +4

    except for when your bug only happens in optimized native code written in IVF, then you have to write several hundred print statements...

  • @airlesstermite4240
    @airlesstermite4240 2 года назад

    idk how the algorithm knew i needed to see this, but thank you VS code.

  • @lucaayfmlyysiaejdsrtnnervd4646
    @lucaayfmlyysiaejdsrtnnervd4646 2 года назад

    I prefer what I understand, print statements.

  • @blackorts5875
    @blackorts5875 2 года назад +6

    I use Vim and gdb inside it, I can do the exact same thing

  • @eboubaker3722
    @eboubaker3722 2 года назад +1

    they should set the channel name to VScode - Newbies

  • @hh126
    @hh126 2 года назад

    THANK YOU

  • @FedoraFedrick
    @FedoraFedrick 2 года назад

    It’s not hard to add a print statement, ESPECIALLY IN PYTHON

  • @yxngboypolo
    @yxngboypolo 2 года назад +1

    U just now finding this out? I’m glad I found out about debugging early in my programming journey

    • @Austin-hm6qq
      @Austin-hm6qq 2 года назад

      Jupyter notebook debugger has only been around for a few years

  • @sarahharrison5798
    @sarahharrison5798 2 года назад

    I use pydroid and I love this feature

  • @kaydonner4426
    @kaydonner4426 2 года назад

    Wow it’s the best new invention since the debugger lol 😂

  • @onurrrrr77
    @onurrrrr77 2 года назад

    Did you guys hear "debugger"?

  • @KayOScode
    @KayOScode 2 года назад

    Yeah print statements are bad for debugging. This is coming from someone who did that for 8 years before getting an industry job. In industry working with large software, it doesnt work well

  • @mymobileaccount6255
    @mymobileaccount6255 2 года назад

    Did she realized she can "debug this code" by using debuggers (?)

  • @Hugos68
    @Hugos68 2 года назад

    Wow vscode reinvented debugging

  • @ompatel4990
    @ompatel4990 2 года назад

    There is such thing called a debugger

  • @simonkraemer3725
    @simonkraemer3725 2 года назад

    I was in my third semester when I first got introduced into the debugger and I was like „wow! That’s awesome!“

  • @abcdefghjiklnmopqrstuvwxyz
    @abcdefghjiklnmopqrstuvwxyz 2 года назад +2

    lol, the edits are just awesome 👀😂

    • @claudiaregio
      @claudiaregio 2 года назад

      i would like to thank you for appreciating my hard work :D

    • @claudiaregio
      @claudiaregio 2 года назад

      @@programferris1018 correct, how can I help?

    • @programferris1018
      @programferris1018 2 года назад

      @@claudiaregio is this specific debugger available for other programming languages? Thank you so much for replying.
      Also do you have an Instagram account where you post such stuffs?

    • @claudiaregio
      @claudiaregio 2 года назад

      @@programferris1018 not available for other languages at this time. what languages were you hoping to use it for?

  • @dxpperwoke
    @dxpperwoke 2 года назад

    did you just learn about the debugger?-

  • @basheeral-momani2032
    @basheeral-momani2032 2 года назад

    I guess you Haven't seen stack frame yet

  • @fabriciocastrovizzotto9106
    @fabriciocastrovizzotto9106 2 года назад +1

    but what about running pdb?

  • @CranyUnknown
    @CranyUnknown 2 года назад

    I wish this was a feature for js and java that would be so damn helpful

    • @Jjuicaw
      @Jjuicaw 2 года назад

      lol watch the variable in the debugger fam

  • @ward7576
    @ward7576 2 года назад +1

    So, the usual debugger? Cool.

  • @danolanater
    @danolanater 2 года назад

    When the print statements in your recursive Fibonacci function aren't cutting it 😂

  • @izergaer
    @izergaer 2 года назад

    That's a debugger

  • @aidan1
    @aidan1 2 года назад +1

    Which font is this? it looks really nice

  • @Puzzlers100
    @Puzzlers100 2 года назад

    I wish it was that easy in vexcode ... I've got so many print statements in my code for debugging

  • @DoubleOhSilver
    @DoubleOhSilver 2 года назад

    When you don't know what a debugger is and you're programming, it's time to reevaluate your education

  • @ameteuraspirant
    @ameteuraspirant 2 года назад

    what's wrong with print statements?

  • @spencernold7121
    @spencernold7121 2 года назад

    That’s crazy, but did I ask?

  • @siddhartsingh6606
    @siddhartsingh6606 2 года назад

    Did you mean debugging ?

  • @sniff4643
    @sniff4643 2 года назад

    print statements r better

  • @MattSuguisAsFondAsEverrr
    @MattSuguisAsFondAsEverrr 2 года назад

    but where step debug in c#
    I've had to place so many consecutive breakpoints in the code

  • @morball6668
    @morball6668 2 года назад

    Breakpoints

  • @NobleC22
    @NobleC22 2 года назад +2

    Haha Laughing in VBA Makro debugging.

  • @Ryarralk
    @Ryarralk 2 года назад

    Or just use the debugger...

  • @sambeg2
    @sambeg2 2 года назад

    What is that icon pack?

  • @mironoordzij2983
    @mironoordzij2983 2 года назад +8

    i find out about this after finishing 70 excersizes 🙂

  • @BiteYt69
    @BiteYt69 2 года назад

    "WHAT IS THAT" just click it and see what happens I guess😐

  • @noeldev
    @noeldev 2 года назад +1

    Why everyone bully the print, print is great, print is hope, print is love

  • @deidara_8598
    @deidara_8598 2 года назад +3

    Or you can just add asserts to ensure your code behaves nicely.

  • @LuanHimmlisch
    @LuanHimmlisch 2 года назад +4

    how do you do fellow kids?

  • @coulomb1
    @coulomb1 2 года назад +1

    Wow vs code can actually debug… thats sad

  • @Ryanisthere
    @Ryanisthere 2 года назад

    the code being 2000 lines long
    good luck lmao

  • @jonathan-._.-
    @jonathan-._.- 2 года назад

    WTF are there actually still programmers out ther ethat havent heard of debugging ?

  • @morso9080
    @morso9080 2 года назад

    *ahem* breakpoint

  • @abrorabyyu6221
    @abrorabyyu6221 2 года назад

    do in javascript right know

  • @icecream6406
    @icecream6406 2 года назад +1

    thats very cool 👍

  • @navi2710
    @navi2710 2 года назад

    Isn't that why you use a debugger?

  • @kyocode
    @kyocode 2 года назад +6

    so... vscode is slowly becoming visual studio...

    • @adamhenriksson6007
      @adamhenriksson6007 2 года назад +2

      Yeah totally! vscode adding visual studio functionality like JUPYTER NOTEBOOK single line execution. Definitely becoming a visual studio clone.

  • @ytka9603
    @ytka9603 2 года назад

    Python???????????????????????????

  • @gy8572
    @gy8572 2 года назад

    So, debugging ._.

  • @bebre_2288
    @bebre_2288 2 года назад

    Such funny joke

  • @AbhimanyuAryan
    @AbhimanyuAryan 2 года назад

    I use Julia and Pluto

  • @iapplethis
    @iapplethis 2 года назад

    lmao is this like 5minute crafts for programming.. but for real though try making juniors use debugging..

  • @bazar9000
    @bazar9000 2 года назад

    Do you even debug?
    Who uses println to debug, when there are breakpoints, are we in 1950?

  • @_AN203
    @_AN203 2 года назад +6

    Thia can be helpful to test the tests 😅🙂

  • @rockynets
    @rockynets 2 года назад

    Imagine using proper debugger smh jupyter notebook is the worst pos ever created for devs

  • @qwoolrat
    @qwoolrat 2 года назад

    oh-ehm-geah

  • @msq7041
    @msq7041 2 года назад

    Thats cool

  • @playthatsoloboi3705
    @playthatsoloboi3705 2 года назад

    srsly? i always did this

  • @mems_surenys
    @mems_surenys 2 года назад

    no way

  • @adorna_r
    @adorna_r 2 года назад

    When you finally realise there is a debugger on VS Code

  • @kurorepia2764
    @kurorepia2764 2 года назад +2

    debugging is now easier

  • @fokos874
    @fokos874 2 года назад

    ipdb

  • @SuperMaDBrothers
    @SuperMaDBrothers 2 года назад

    It’s like 10x faster to just use print statements tho. But forget that, this sounds sarcastic but it’s not: just make sure ur right and u don’t even have to debug. 99% of the time code doesn’t work because u were too lazy to check if something would work. Honestly running it through in your head is the best way to go. If you’re too lazy to do that then you shouldn’t be programming.

  • @dbeh7447
    @dbeh7447 2 года назад

    Vs code is shit. No reason to use it when pycharm is free

  • @rafindobuff990
    @rafindobuff990 2 года назад

    You never have written code if you are still using print() for debugging.

  • @hin4241
    @hin4241 2 года назад

    How

  • @EnriqueMoranG
    @EnriqueMoranG 2 года назад

    😂😂

  • @alisonrae
    @alisonrae 2 года назад

    🤦🤦🤦

  • @siddsp02
    @siddsp02 2 года назад

    You don't even need a FibArray for your algorithm

    • @thelatestartosrs
      @thelatestartosrs 2 года назад

      wtf are you thinking

    • @siddsp02
      @siddsp02 2 года назад

      @@thelatestartosrs there's literally 0 need to use an array when calculating a Fibonacci sequence number

    • @claudiaregio
      @claudiaregio 2 года назад

      @@siddsp02 omg it’s almost as if the video is about the feature and not the code… 🤔😛

  • @MrTAZAQ
    @MrTAZAQ 2 года назад

    what the hell

  • @mr.rabbit5642
    @mr.rabbit5642 2 года назад

    Ah yes
    Microsoft: OMG look what we've finally put in VSC!
    Literally everyone: That feature every other IDE has for like 5 years already? Cooooolll

  • @elwanmayencourt
    @elwanmayencourt 2 года назад

    Only bad developers use the debugger

    • @f3arbhy
      @f3arbhy 2 года назад +3

      Well if you had the unfortunate task to refactor or understand what a previous developer intented, I'd say debugger is much better than writing a few hundred print statements. Every tool has its purpose.

  • @atlasdev
    @atlasdev 2 года назад +2

    Fireship copy much?

    • @welltypedwitch
      @welltypedwitch 2 года назад +1

      What? Any programming related shorts are Fireship copies now?

    • @atlasdev
      @atlasdev 2 года назад

      @@welltypedwitch No. Fireship made a video EXACTLY like this, but with Node/Javascript instead.

    • @adamhenriksson6007
      @adamhenriksson6007 2 года назад

      @@atlasdev Nah man not really. Fireship has all the neat illustrations, animations, and stuff. I think this is supposed to be more casual.

    • @atlasdev
      @atlasdev 2 года назад

      @@adamhenriksson6007 I'm not talking about style dude. I'm talking about the actual content, he made a video a few days ago about not using console.log in Javascript.

    • @adamhenriksson6007
      @adamhenriksson6007 2 года назад

      @@atlasdev Aaah, right. It's not the same feature though but sure. I get it

  • @tigdug6310
    @tigdug6310 2 года назад

    Owo

  • @neon_code
    @neon_code 2 года назад

    First comment

  • @fickthissut
    @fickthissut 2 года назад

    ssssnake_case