Calculation bugs just as logical bugs usually does not throw explicit exceptions so they are harder to find. We can use 𝗪𝗮𝘁𝗰𝗵 𝘄𝗶𝗻𝗱𝗼𝘄 in Visual Studio Debugger to monitor a calculated value to more easily find a bug.
Lear Object-Oriented programming and how to apply it to Unity projects
https://courses.sunnyvalleystudio.com...
Assets used:
https://beyonderboy.itch.io/desert-ma...
https://krishna-palacio.itch.io/minif...
If you have any questions ask them in the comments and join the discord :
/ discord
You can support me through Patreon:
/ sunnyvalleystudio
00:00 Introduction
00:23 Searching for the logical bug
01:29 Debugging the calculation bug
02:14 Step Out in Visual Studio debugger
03:15 Pinning DataTip
03:29 Using Watch window to debug our code
04:53 Using Watch window / DataTip to monitor a value
05:51 Adding condition to a Breakpoint
07:00 Subscribe 🙂
#debugging #unity #gamedev
Смотрите видео How to use Watch window to debug C# - Debugging in Unity 3/3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sunny Valley Studio 08 Апрель 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,300 раз и оно понравилось 45 людям.