Visual Studio Debugging Flashcards
1
Q
What is visual studio debugger
A
visual studio has an Integrated debugger, makes it easy to debug programs
2
Q
What does VS debugger supports
A
Break points,
Conditional breakpoints,
Stepping,
Stack trace,
Variable display,
Variable watch.
3
Q
Breakpoints
A
- can be set on any executable line of a program
- when the code is being debugged and just before it hits the line on which a breakpoint has been set execution will be paused.
- While paused:
- you can examine the state of all the variables,
- you can use the run controls at the top of the window to step the program ahead
4
Q
Breakpoint Types
A
function breakpoint
- stops when a function is called
data breakpoint
- Allows you to set the address of a variable and a number of bytes after it
- Triggered when that memory is changed.