1
00:00:00,120 --> 00:00:05,670
The simplest debugging strategy that we have with us is to use Hawaii to create a new right to will

2
00:00:05,670 --> 00:00:10,800
consider a simple example where we have a two way with a computer and additional, and then we'll just

3
00:00:10,800 --> 00:00:15,510
be utilizing the serial terminal to understand the result of an outage rate.

4
00:00:15,570 --> 00:00:21,000
So we go away that it just declared to variable you that you do and this will be in one and let it just

5
00:00:21,000 --> 00:00:22,920
initialize this two to rate.

6
00:00:23,460 --> 00:00:29,250
The next variable will be the two, and then we will just be initiating it to do it right.

7
00:00:29,760 --> 00:00:32,340
We have another variable which will be sickly is doing.

8
00:00:32,340 --> 00:00:35,300
There is a little violation of the known and right.

9
00:00:35,310 --> 00:00:36,840
So you do.

10
00:00:37,140 --> 00:00:39,030
And they just named this as result.

11
00:00:39,030 --> 00:00:48,300
And this will be story duration of one plus right now to verify the result of whether the result variable

12
00:00:48,300 --> 00:00:51,430
is actually carrying the result of violation of the new and ending.

13
00:00:51,470 --> 00:00:59,590
To what we do is we could just send the value that we have looking for both the inputs as well as output.

14
00:00:59,610 --> 00:01:00,690
All right.

15
00:01:00,990 --> 00:01:05,820
And this is how we perform our debugging of the values of the way.

16
00:01:05,890 --> 00:01:06,130
Right.

17
00:01:06,130 --> 00:01:11,880
So this is the simplest debugging technique that we could always start whenever you are analyzing certain

18
00:01:11,880 --> 00:01:12,780
has got it right.

19
00:01:12,780 --> 00:01:15,510
So data input?

20
00:01:16,350 --> 00:01:16,690
OK.

21
00:01:17,930 --> 00:01:23,570
Once again, there will be utilizing the format specified as persons.

22
00:01:24,890 --> 00:01:26,900
And then data.

23
00:01:28,070 --> 00:01:35,540
Input to OK, here, also, we will be using a format specified as button zero three.

24
00:01:35,900 --> 00:01:40,120
OK, and then we will be adding a new line character issues for us.

25
00:01:40,130 --> 00:01:41,690
Is Dean one Dean?

26
00:01:41,930 --> 00:01:42,150
Right?

27
00:01:42,530 --> 00:01:45,910
And then we'll be printing the result of radiation, right?

28
00:01:46,190 --> 00:01:47,420
So they'll print.

29
00:01:48,260 --> 00:01:56,570
And then with the fourth edition again, we'll just be utilizing a format to specify aspartame.

30
00:01:56,990 --> 00:02:02,510
So whenever you are in a situation where you want to debug the number, which are having a floating

31
00:02:02,510 --> 00:02:06,400
point values, then the format specified will be perceived to be left.

32
00:02:06,740 --> 00:02:09,260
And then in that case, you need to use predictive right.

33
00:02:09,290 --> 00:02:15,870
Remember, whenever you are utilizing printed the memory that you add as we look at memory you, it

34
00:02:15,920 --> 00:02:17,150
should be 128 GB.

35
00:02:18,480 --> 00:02:20,550
OK and resulted in sight.

36
00:02:21,140 --> 00:02:21,830
Right, right.

37
00:02:22,080 --> 00:02:23,370
So this is what we're going to do.

38
00:02:23,580 --> 00:02:27,030
So once you complete your application, you just need to build a project.

39
00:02:27,480 --> 00:02:30,030
OK, so this will automatically generate any left right.

40
00:02:30,120 --> 00:02:33,180
So once your your left file is ready, we go ahead.

41
00:02:33,840 --> 00:02:39,260
Select our application project and then debug as launch hide.

42
00:02:39,670 --> 00:02:42,480
So this will automatically switch our perspective to debug.

43
00:02:42,990 --> 00:02:46,350
Then we go ahead and select the widest dominant.

44
00:02:46,360 --> 00:02:52,590
Here we will first configure this terminal before executing our right to go to a whiteys terminal.

45
00:02:52,980 --> 00:02:59,670
Then we have this plus, but we'll just be clicking on it and we go ahead and select CommSec's.

46
00:03:00,180 --> 00:03:02,370
Select the border guards nine six zero zero.

47
00:03:02,400 --> 00:03:08,850
This is the default rate at which high you are light is operating, and then they'll click.

48
00:03:09,420 --> 00:03:12,940
So once this is done, we are ready to perform an execution of this call.

49
00:03:12,960 --> 00:03:15,030
So we just need to click on this resume.

50
00:03:15,030 --> 00:03:18,400
But right now here you could see that he damehood when it swell.

51
00:03:18,420 --> 00:03:22,500
I need to be student and the result of radiation is 24, right?

52
00:03:22,740 --> 00:03:25,870
So this way you could visualize the values of the label.

53
00:03:26,180 --> 00:03:31,560
The this will always be our first debugging strategy whenever you are analyzing.

54
00:03:31,580 --> 00:03:32,930
So guard it right.

55
00:03:32,940 --> 00:03:38,430
So as we progress further will be understanding the different methods the software debugging, as well

56
00:03:38,430 --> 00:03:40,530
as hardware debugging technique that we have with.
