Debugging Flashcards
What are breakpoints?
A point where the debugger will pause the execution.
Do breakpoints only work on debug mode? (on Vs)
They work on all modes, but on release mode the code will change and the breakpoints may be on different lines.
What is the main purpose of breakpoints?
They allow the developer to check the state of the program on a specific point.
Where can you see the memory used for the program?
In the Memory Window
How can you open the memory window in Vs?
On the top menu > Debug > Windows > Memory
What is the notation ‘&variable’ used for?
It’s used to get the memory address of the desired variable
In the memory window, what do the pairs of characters represent?
Each pair is a byte, represented in hexadecimal value.