Roblox Debugging (done efficiently)

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • 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 :)

Komentáře • 80

  • @byteblox100
    @byteblox100  Před 8 měsíci +10

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

    • @barut128
      @barut128 Před 8 měsíci +1

      Ok

    • @uliveulearnandregret
      @uliveulearnandregret Před 8 měsíci +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 Před 8 měsíci

      @@uliveulearnandregretOk

  • @kanapuro
    @kanapuro Před 8 měsíci +63

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

    • @BUDPUD
      @BUDPUD Před 4 měsíci

      False

    • @miro_theburger
      @miro_theburger Před 4 měsíci

      true

    • @svemunDev
      @svemunDev Před měsícem

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

  • @_IDKM
    @_IDKM Před 8 měsíci +41

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

  • @nebularzz
    @nebularzz Před 8 měsíci +9

    average debugger user vs average random print statement enjoyer

    • @Judeity
      @Judeity Před 8 měsíci +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 Před 8 měsíci +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 Před 8 měsíci +1

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

    • @pjp48
      @pjp48 Před 8 měsíci

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

    • @barut128
      @barut128 Před 8 měsíci +2

      @@pjp48 bruh

    • @QUBIQUBED
      @QUBIQUBED Před 8 měsíci

      warns are better

    • @tsyfirkin
      @tsyfirkin Před 8 měsíci

      Gay​@@pjp48

  • @Official_uoi5553_Channel
    @Official_uoi5553_Channel Před 7 měsíci +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 Před 8 měsíci +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 Před 8 měsíci +1

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

    • @nebularzz
      @nebularzz Před 8 měsíci

      maybe the garbage collector is doing something its not supposed to

    • @daviizinkks
      @daviizinkks Před 8 měsíci

      some typo maybe

  • @ItzpoomAV1
    @ItzpoomAV1 Před 8 měsíci +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 Před 8 měsíci

      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 Před 8 měsíci

      so true

    • @theperfecttroller
      @theperfecttroller Před 8 měsíci

      wut?

    • @TurtleMouse
      @TurtleMouse Před 8 měsíci

      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 :)

  • @CMan_real
    @CMan_real Před 8 měsíci +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 Před 7 měsíci +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 Před 7 měsíci +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.

  • @EpicPico0625
    @EpicPico0625 Před 8 měsíci +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

  • @jayoija
    @jayoija Před 8 měsíci +4

    I'll still be printing :3

  • @thememermonkey
    @thememermonkey Před 8 měsíci +4

    But I like printing out the values

  • @robloxgarfield.3455
    @robloxgarfield.3455 Před 8 měsíci +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!

  • @Jackaroo3007
    @Jackaroo3007 Před 8 měsíci +1

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

  • @SkullsDev
    @SkullsDev Před 7 měsíci

    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.

  • @pepinho8805
    @pepinho8805 Před 8 měsíci

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

  • @cosmic7140
    @cosmic7140 Před 7 měsíci

    insert debate about print debugging vs breakpoint debugging

  • @somenerd8139
    @somenerd8139 Před 8 měsíci +2

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

  • @mafnor2268
    @mafnor2268 Před 8 měsíci +1

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

  • @QUBIQUBED
    @QUBIQUBED Před 8 měsíci +1

    Guys also use Warns

  • @0wQ
    @0wQ Před 7 měsíci

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

  • @slav4335
    @slav4335 Před 8 měsíci

    but i like seeing the funny values in the devlog

  • @cosmic7140
    @cosmic7140 Před 7 měsíci

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

    • @_profile
      @_profile Před 7 měsíci

      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 Před 8 měsíci

    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 Před 7 měsíci

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

  • @a_username_lol
    @a_username_lol Před 8 měsíci

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

  • @0Jepe
    @0Jepe Před 7 měsíci

    printing better

  • @ExoticFoxy
    @ExoticFoxy Před 8 měsíci +1

    Skill issue tbh

  • @thecannonman6182
    @thecannonman6182 Před 8 měsíci +1

    W character

  • @adimemo2134
    @adimemo2134 Před 8 měsíci

    interesting, interesting *sip*

  • @kingswag7
    @kingswag7 Před 8 měsíci

    YOU SAVED ME

  • @neighbor8793
    @neighbor8793 Před 8 měsíci

    hey byteblox what do you think of femboys

  • @ChimkenCucumber
    @ChimkenCucumber Před 8 měsíci

    WWWWW