1
00:00:00,060 --> 00:00:04,860
Who executed the gold in the process is very simple, right, so you could just click on a resume button,

2
00:00:04,860 --> 00:00:10,170
but now what will happen is since we have a multiple breakpoint in the previous examples, whatever

3
00:00:10,170 --> 00:00:15,960
we have studied right from the beginning of the course, we only have a single breakpoint that is at

4
00:00:16,260 --> 00:00:19,400
this instance where we have a full aid, meaning a mean code.

5
00:00:19,410 --> 00:00:22,550
But now we do have a multiple breakpoint.

6
00:00:22,560 --> 00:00:25,340
For example, we have a breakpoint outline number 28.

7
00:00:25,350 --> 00:00:27,480
We have a breakpoint at line number 30, right?

8
00:00:27,750 --> 00:00:33,810
So in this case, whenever you have a multiple breakpoint, what will happen is if you click on a resume.

9
00:00:33,840 --> 00:00:40,800
So this will start execution of the code, OK, and then it will again stop when we have.

10
00:00:41,930 --> 00:00:42,900
The next big point.

11
00:00:42,920 --> 00:00:43,190
Right?

12
00:00:43,430 --> 00:00:49,340
So wherever you have a next frequent present, our process will automatically pour into execution over

13
00:00:49,350 --> 00:00:49,610
there.

14
00:00:49,640 --> 00:00:49,940
Right.

15
00:00:50,420 --> 00:00:58,160
And I did, and that's a resume option is usually not preferred when we are performing a debug or debugging

16
00:00:58,160 --> 00:00:58,730
of a call.

17
00:00:59,210 --> 00:01:01,340
So instead of this, we have another option.

18
00:01:01,340 --> 00:01:05,330
For example, the most frequently use option is stepping in.

19
00:01:05,570 --> 00:01:05,810
Right.

20
00:01:05,810 --> 00:01:12,170
So this is used to go inside the function, OK, to analyze the container for function.

21
00:01:12,530 --> 00:01:14,770
Then we have a step over right.

22
00:01:14,780 --> 00:01:21,260
So the step in to allow us to go inside the function and analyze the container for function.

23
00:01:21,530 --> 00:01:22,300
Step over.

24
00:01:22,310 --> 00:01:25,400
We'll skip the process of going into a function.

25
00:01:25,400 --> 00:01:28,640
Instead, it will just be jumping on to the next line.

26
00:01:28,640 --> 00:01:31,760
For example, here we have a malfunction rate.

27
00:01:31,760 --> 00:01:36,320
So if you delay, step into who will be going inside the function.

28
00:01:36,470 --> 00:01:40,580
So we will be over here analyzing what is inside the malfunction.

29
00:01:40,580 --> 00:01:46,580
But if you utilize the step over, so we will be executing the code and reaching to a next.

30
00:01:46,780 --> 00:01:47,030
Right?

31
00:01:47,300 --> 00:01:50,360
Other than that, we also have an option called then step rate.

32
00:01:50,360 --> 00:01:53,570
And for example, if you are in this function, right?

33
00:01:53,570 --> 00:02:00,710
So if you analyze the specific value and then you do not want to go till the end of a function, you

34
00:02:00,710 --> 00:02:03,190
will just click on step four, right?

35
00:02:03,200 --> 00:02:07,310
So this will bring us out of this function and get right.

36
00:02:07,340 --> 00:02:10,280
So this add option, which we frequently utilize right now.

37
00:02:10,790 --> 00:02:15,330
If you just click on step two, right, so here we do not have any function.

38
00:02:15,590 --> 00:02:19,710
What this will do is this will execute this statement and then we simply reach to next.

39
00:02:19,760 --> 00:02:20,160
Great.

40
00:02:20,210 --> 00:02:22,870
So let it just click on step into right.

41
00:02:22,880 --> 00:02:27,930
So you'll be finding as soon as we click on step into, OK, we'll just be executing the code.

42
00:02:27,950 --> 00:02:34,520
If you do not have a function and we reach to a next date, you see a variable view, OK, as soon as

43
00:02:34,520 --> 00:02:39,440
any of the variables have an update automatically, it is highlighted within a look at a rate.

44
00:02:39,440 --> 00:02:41,750
In the previous case, we won't be finding any color.

45
00:02:42,080 --> 00:02:43,610
OK, as soon as we.

46
00:02:44,630 --> 00:02:51,320
Initialize our DNA, a zero will be finding both of them have now been updated with the value of zero

47
00:02:51,320 --> 00:02:54,050
and that is highlighted by and in local right.

48
00:02:54,230 --> 00:02:56,780
Let us try to step into this function, right?

49
00:02:56,790 --> 00:02:58,580
So any platform itself is a function.

50
00:02:58,850 --> 00:03:04,460
So now if you just click on, step in to see, we'll be finding it takes us inside the Ineke platform.

51
00:03:04,490 --> 00:03:06,930
Right now here we have enabled cash.

52
00:03:06,950 --> 00:03:12,160
Okay, so we do not want to go inside, enable cash, so we could just click on step four.

53
00:03:12,170 --> 00:03:14,180
So this will take us to the next function.

54
00:03:14,450 --> 00:03:20,270
Again, if you click on the step or so, this will complete our execution of any new platform because

55
00:03:20,270 --> 00:03:23,340
we have an ending that replaces of an exact form over here.

56
00:03:23,660 --> 00:03:26,920
In that case, will be just coming out of it right now.

57
00:03:26,930 --> 00:03:31,670
Let us assume that we do not click on step or instead we click on stipulate that right?

58
00:03:32,000 --> 00:03:35,900
So this will automatically bring us out of any Nick Blackwell rate.

59
00:03:36,170 --> 00:03:36,950
This makes sense.

60
00:03:37,460 --> 00:03:39,580
Now we are at this instance.

61
00:03:39,580 --> 00:03:44,540
So if we want to analyze the content of this function, you have a step in the right as soon as you

62
00:03:44,540 --> 00:03:45,260
click on step.

63
00:03:45,260 --> 00:03:50,780
And do you reach to this function right where we declared the multiplication function?

64
00:03:51,050 --> 00:03:56,120
And as soon as you reach to this function now, you could see the variable window is updated to all

65
00:03:56,120 --> 00:03:57,260
the variable.

66
00:03:58,160 --> 00:03:58,550
OK?

67
00:03:58,820 --> 00:04:02,780
And an argument which are present in and function are automatically highlighted over here.

68
00:04:02,780 --> 00:04:08,330
So we have an X Y and local and this Skomal, which is a local variable for this function, right?

69
00:04:08,600 --> 00:04:10,440
And as soon as we execute the code.

70
00:04:10,460 --> 00:04:15,980
So how we execute the code here, if we could just click on step into because this do this is not a

71
00:04:15,980 --> 00:04:19,840
function, so it will just execute the code and reach to a next lane.

72
00:04:20,010 --> 00:04:25,100
So if you click on step and do OK, so it will just execute the code and we do an x ray.

73
00:04:25,130 --> 00:04:26,380
Now here you will create jobs.

74
00:04:26,410 --> 00:04:30,790
So we have an update on the local and the score, right?

75
00:04:30,810 --> 00:04:33,830
And that is highlighted by a local right.

76
00:04:33,860 --> 00:04:34,610
This makes sense.

77
00:04:34,640 --> 00:04:40,610
Now, if you just click again on this step and do as we are reaching to an end of this function, declaration

78
00:04:40,610 --> 00:04:42,730
will be simply going back to a main goal.

79
00:04:42,740 --> 00:04:44,300
So let it just click on step into.

80
00:04:44,780 --> 00:04:52,100
So here you could clearly see we are back to our main goal here right now.

81
00:04:52,460 --> 00:04:58,640
If you gain, click on step and do right so you reach to a next function, which is at right.

82
00:04:59,790 --> 00:05:05,930
So step four, if you just go inside and function, so we are over here, if you click on step four,

83
00:05:05,940 --> 00:05:10,050
right, so this will bring us out of the function, right?

84
00:05:10,060 --> 00:05:12,600
And this basically mean we executed our call.

85
00:05:12,630 --> 00:05:13,530
What's right?

86
00:05:14,450 --> 00:05:17,540
So these are the various options that you have over here.

87
00:05:17,570 --> 00:05:24,320
Now remember, as soon as you goes in to the function, okay, all the local variable, which are present

88
00:05:24,620 --> 00:05:29,220
inside the function will be automatically highlighted in and variable view.

89
00:05:29,300 --> 00:05:33,100
And as soon as any of the variable have changes in a value.

90
00:05:33,110 --> 00:05:39,230
So that will be highlighted with any look at a global variable which are not utilized in any of a function.

91
00:05:39,530 --> 00:05:39,920
OK.

92
00:05:40,460 --> 00:05:42,020
Specifically a mean function.

93
00:05:42,860 --> 00:05:43,290
OK.

94
00:05:43,580 --> 00:05:48,920
That won't be highlighted anywhere, so you could just go to an expression depth and then you could

95
00:05:48,920 --> 00:05:51,770
add the global variable over here.

96
00:05:51,810 --> 00:05:52,070
Right.

97
00:05:52,070 --> 00:05:54,620
So these are the kinds of strategies that we adopt.

98
00:05:54,950 --> 00:05:58,920
Now, remember whenever you are working with debugging of a code.

99
00:05:58,970 --> 00:06:01,460
So these are the useful option that you have.

100
00:06:01,580 --> 00:06:07,460
So if you want to go inside the function you, you have an option left to step into.

101
00:06:07,760 --> 00:06:13,820
If you are already inside your function and want to come out of a function, then you have a step return.

102
00:06:14,180 --> 00:06:20,690
And if you do not want to go inside the function, you just want to execute that statement and then

103
00:06:20,690 --> 00:06:22,010
reach to a next line of a.

104
00:06:22,250 --> 00:06:25,370
You could just use step over, right?

105
00:06:25,370 --> 00:06:27,110
So these are the useful option.

106
00:06:27,110 --> 00:06:29,000
Other than that, we have a variable view.

107
00:06:29,330 --> 00:06:35,300
So if you are in the mean, go to all the variable which are declaring a mean will be highlighted over

108
00:06:35,340 --> 00:06:37,310
here if you are inside the function.

109
00:06:37,310 --> 00:06:42,170
So all the variables which are local to a function will be highlighted over here, right?

110
00:06:42,440 --> 00:06:49,220
Breakpoint highlights the line number where we have a breakpoint expression could be used to add a user

111
00:06:49,220 --> 00:06:54,770
specific expression consisting of a combination of variable which are present in a call.

112
00:06:55,520 --> 00:06:59,050
Or it could also be used to analyze the global variable container.

113
00:06:59,180 --> 00:07:07,070
So our strategy will be whenever we are in a situation to analyze the global variable, we will be utilizing

114
00:07:07,070 --> 00:07:08,600
an expression, right?

115
00:07:09,530 --> 00:07:14,860
You know, Keith, whenever you add a variable, which is not declared over here, so that basically

116
00:07:14,860 --> 00:07:16,930
lead to invalid expression.

117
00:07:16,960 --> 00:07:17,200
Right.

118
00:07:17,770 --> 00:07:22,960
So these are some of the techniques that we utilize when we work around with a breakpoint rate.
