Это видео недоступно.
Сожалеем об этом.

Roblox Debugging (done efficiently)

Поделиться
HTML-код
  • Опубликовано: 15 дек 2023
  • 50% OFF COUPON WITH "DOUBLEBYTE" (ends in 3 days):
    linktr.ee/Byte...
    To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/...
    You’ll also get 20% off an annual premium subscription!
    discord: / discord
    wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
    my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)

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

  • @byteblox100
    @byteblox100  8 месяцев назад +10

    TO ALL BEGINNER DEVELOPERS, sign up to my newsletter for emails with helpful scripting advice/assets :)
    byteblox.ck.page/c2af95d792

    • @barut128
      @barut128 8 месяцев назад +1

      Ok

    • @uliveulearnandregret
      @uliveulearnandregret 8 месяцев назад +1

      yeah people sadly underestimate breakpoints I literally have asked people how they debug and they say they spam prints in every scope and nest... not the best way to go about it

    • @baconheadhair6938
      @baconheadhair6938 8 месяцев назад

      @@uliveulearnandregretOk

  • @kanapuro
    @kanapuro 8 месяцев назад +63

    printing is WAY better when im trying to identify a specific part of the code that isnt functioning properly.

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

      False

    • @miro_theburger
      @miro_theburger 3 месяца назад

      true

    • @svemunDev
      @svemunDev 21 день назад

      if false and false then Print("falsetrue") output falsetrue 🤓

  • @_IDKM
    @_IDKM 8 месяцев назад +41

    I'll never change my ways, print statements are the only way.
    (Love your videos btw!)

  • @nebularzz
    @nebularzz 7 месяцев назад +9

    average debugger user vs average random print statement enjoyer

    • @Judeity
      @Judeity 7 месяцев назад +4

      Printing values is still useful. It's one thing to analyze it line by line, but you're completely lost if you don't have anyway to see what values are being used and created.

  • @barut128
    @barut128 8 месяцев назад +16

    Prints is so easy and not important when you are a new dev but you will understand it when you are a pro dev

    • @kurganim
      @kurganim 8 месяцев назад +1

      I think it’s extra important for new devs because they may not know the syntax of all errors

    • @pjp48
      @pjp48 8 месяцев назад

      I'm starting to make viral games and I don't know how prints work... 👉👈😔

    • @barut128
      @barut128 8 месяцев назад +2

      @@pjp48 bruh

    • @QUBIQUBED
      @QUBIQUBED 8 месяцев назад

      warns are better

    • @tsyfirkin
      @tsyfirkin 8 месяцев назад

      Gay​@@pjp48

  • @Official_uoi5553_Channel
    @Official_uoi5553_Channel 7 месяцев назад +4

    Well that was very interesting, and I am for everything related to learn new things, but in this circumstance break points seem very inconvenient. Though I should try it out. It might be worth the try, and for others behalf. Thank you for uploading this niece tutorial suitable for the people who understands best though video format.

  • @kjanahan3776
    @kjanahan3776 8 месяцев назад +7

    i have a error in my code which is seriously annoying. Its over 2k lines, and ive been able to track it down to 3 functions calls, where sometimes the first will run but not the second and third, but sometimes it calls both the first and second, but not the third. I looked through the functions and nothing even tries to index “GP” with a part, but it errors saying it does not exist. I can print the value right before, and it exists, but seemingly at the exact same time, it also deletes that value. I used breakpoints (which is rarely) and it still has not explained why the value is not able to be found.

    • @confidentletter
      @confidentletter 8 месяцев назад +1

      You should use a break point instead of only utilizing prints.

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

      maybe the garbage collector is doing something its not supposed to

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

      some typo maybe

  • @EpicPico0625
    @EpicPico0625 8 месяцев назад +3

    So this is what does stupid red dots do, I've been constantly clicking on the side by accident and I never knew what they did

  • @robloxgarfield.3455
    @robloxgarfield.3455 8 месяцев назад +6

    Hey dude can you make a video about entered zones with the module of ZonePlus i want to learn how to use this to play music on an area or show the name and description of the area or also have the area have fog hue tint and those other things would really help thanks!

  • @thememermonkey
    @thememermonkey 8 месяцев назад +4

    But I like printing out the values

  • @jayoija
    @jayoija 8 месяцев назад +4

    I'll still be printing :3

  • @CMan_real
    @CMan_real 8 месяцев назад +2

    Damn, when I suggested this is Discord, I didn’t expect you to be able to make it that fast, good job!

  • @Electrico11HD
    @Electrico11HD 7 месяцев назад +3

    just let the code have an error, it literally gives you a description of what is wrong and on what line. if you're not a beginner you will always know where this error comes from

    • @artex_112
      @artex_112 7 месяцев назад +4

      Code won't always error, code can be written correctly so it has no syntax errors but is not guaranteed that it will do what you want it to do.
      thats when you have to debug it see why its doing that and not this.

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

    The only case I currently see this being useful is for when I make syntax mistakes. Often it won’t show me what happened, it will just reference a line or give me an error. So I could use this to save time for longer codes that have multiple errors and are hard to pinpoint without a visual.

  • @Jackaroo3007
    @Jackaroo3007 7 месяцев назад +1

    Infinite yield possible means Infinite waiting time possible, if thats what you meant by "i dont know what this means"

  • @ItzpoomAV1
    @ItzpoomAV1 8 месяцев назад +3

    wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2023 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
    my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)

    • @yarik_superpro
      @yarik_superpro 8 месяцев назад

      games isnt made like this.IF you want do it sure go to this "crazy granny horror amogus" devs and you will be doomed to have 0 players.

    • @Sky_nord
      @Sky_nord 8 месяцев назад

      so true

    • @theperfecttroller
      @theperfecttroller 8 месяцев назад

      wut?

    • @TurtleMouse
      @TurtleMouse 8 месяцев назад

      wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2023 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
      my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)

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

    insert debate about print debugging vs breakpoint debugging

  • @mafnor2268
    @mafnor2268 7 месяцев назад +1

    I still don't see why I shouldn't be using print statements for debugging lol.

  • @QUBIQUBED
    @QUBIQUBED 8 месяцев назад +1

    Guys also use Warns

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

    i am making games since 2021 and i never knew that thing existed, i saw the red dot sometimes but i just deleted it

  • @somenerd8139
    @somenerd8139 8 месяцев назад +2

    sorry but uh PRINT STATEMENTS FTW
    actually after watching the video I realize that DEBUGGERS FTW

  • @pepinho8805
    @pepinho8805 8 месяцев назад

    Keep making these amazing videos bro you are helping us so much!

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

    but i like seeing the funny values in the devlog

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

    yesOrNo would be NIL since you didn't set the parameter to anything

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

      no because when you do:
      function hi(input)
      print(input)
      end
      hi("lol")
      'input' would become the string "lol" in the function hi()

  • @Fodnex
    @Fodnex 8 месяцев назад

    I feel like that if you disable "Edit" it will only work when you play the game not in studio but in roblox

  • @BlackDoggo-dy6lp
    @BlackDoggo-dy6lp 7 месяцев назад

    as a 5 year dev, ur wrong, print statements still on top.

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

    printing better

  • @a_username_lol
    @a_username_lol 8 месяцев назад

    too confusing ill rather use prints and i put alot of stuff into many different scripts so its easy to know the issue

  • @thecannonman6182
    @thecannonman6182 8 месяцев назад +1

    W character

  • @adimemo2134
    @adimemo2134 8 месяцев назад

    interesting, interesting *sip*

  • @ExoticFoxy
    @ExoticFoxy 7 месяцев назад +1

    Skill issue tbh

  • @kingswag7
    @kingswag7 8 месяцев назад

    YOU SAVED ME

  • @neighbor8793
    @neighbor8793 8 месяцев назад

    hey byteblox what do you think of femboys

  • @ChimkenCucumber
    @ChimkenCucumber 8 месяцев назад

    WWWWW