Debugging Flashcards

1
Q

What are breakpoints?

A

A point where the debugger will pause the execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Do breakpoints only work on debug mode? (on Vs)

A

They work on all modes, but on release mode the code will change and the breakpoints may be on different lines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the main purpose of breakpoints?

A

They allow the developer to check the state of the program on a specific point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where can you see the memory used for the program?

A

In the Memory Window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you open the memory window in Vs?

A

On the top menu > Debug > Windows > Memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the notation ‘&variable’ used for?

A

It’s used to get the memory address of the desired variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In the memory window, what do the pairs of characters represent?

A

Each pair is a byte, represented in hexadecimal value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly