Это видео недоступно.
Сожалеем об этом.
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 :)
TO ALL BEGINNER DEVELOPERS, sign up to my newsletter for emails with helpful scripting advice/assets :)
byteblox.ck.page/c2af95d792
Ok
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
@@uliveulearnandregretOk
printing is WAY better when im trying to identify a specific part of the code that isnt functioning properly.
False
true
if false and false then Print("falsetrue") output falsetrue 🤓
I'll never change my ways, print statements are the only way.
(Love your videos btw!)
average debugger user vs average random print statement enjoyer
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.
Prints is so easy and not important when you are a new dev but you will understand it when you are a pro dev
I think it’s extra important for new devs because they may not know the syntax of all errors
I'm starting to make viral games and I don't know how prints work... 👉👈😔
@@pjp48 bruh
warns are better
Gay@@pjp48
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.
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.
You should use a break point instead of only utilizing prints.
maybe the garbage collector is doing something its not supposed to
some typo maybe
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
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!
But I like printing out the values
why did i read this to the tune of hotline bling
I'll still be printing :3
same :3
Damn, when I suggested this is Discord, I didn’t expect you to be able to make it that fast, good job!
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
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.
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.
Infinite yield possible means Infinite waiting time possible, if thats what you meant by "i dont know what this means"
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 :)
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.
so true
wut?
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 :)
insert debate about print debugging vs breakpoint debugging
I still don't see why I shouldn't be using print statements for debugging lol.
Guys also use Warns
i am making games since 2021 and i never knew that thing existed, i saw the red dot sometimes but i just deleted it
sorry but uh PRINT STATEMENTS FTW
actually after watching the video I realize that DEBUGGERS FTW
Keep making these amazing videos bro you are helping us so much!
but i like seeing the funny values in the devlog
yesOrNo would be NIL since you didn't set the parameter to anything
no because when you do:
function hi(input)
print(input)
end
hi("lol")
'input' would become the string "lol" in the function hi()
I feel like that if you disable "Edit" it will only work when you play the game not in studio but in roblox
as a 5 year dev, ur wrong, print statements still on top.
printing better
too confusing ill rather use prints and i put alot of stuff into many different scripts so its easy to know the issue
W character
interesting, interesting *sip*
Skill issue tbh
YOU SAVED ME
hey byteblox what do you think of femboys
👎
@@byteblox100 W
W@@byteblox100
@@byteblox100 W
@@byteblox100 L
WWWWW