Introduction to Debugging
Visual Studio Debugger
Breakpoints
Data Inspection
Threads and Stacks
The process of locating and fixing or bypassing bugs (errors) in computer program code
Note: One change at a time
Initial detection of errors
Diagnosing and correcting the root causes of errors that have already been detected
Menu
Windows
Step into (F11)
Step over (F10)
Step out (Shift + F10)
Stop debugging
Continue (F5)
Ignore other code
Debug .Net source
Load symbols (pdb) of a dll
Ability to stop execution based on certain criteria is key when debugging
When data changes
When a function is hit
When a specific thread hits a function
A hit count
Condition
Filters
Breakpoint settings:
Features:
Add breakpoints
Remove or disable breakpoint
Label or group breakpoints
Export/import breakpoints