Lab Exercise 1 CPP - SVF-tools/Software-Security-Analysis GitHub Wiki
Configuration && debugging
launch.json
To enable debugging and running, switch your executable by setting the program
and args
fields as described here or follow the below screenshot.
Debug your code
*If there is an assertion or unexpected output, you will need to debug and find bugs.
Step 1: Set the breakpoint where you want to stop your program and press the 'debug' button
Step 2: 'Step over' /'Step in' / 'Step out'
- 'Step over' to the next step of your program
- 'Step in' to the current line of your program
- 'Step out' to mainstream of your program where you stepped in before