Insert code to force a variable to take on a specific value.
Determine what happens when a variable takes on a known value.
What are the side effects of executing a code segment at a particular point in time?
This tactic doesn’t answer the question of why the variable did not have the value originally.
Force a while loop to execute at least once.
Force a counted loop to execute a certain number of times.
Use a high-level debugger or interpreter to do the following:
Set a breakpoint at the code block of interest.
Add a command list to the breakpoint to assign a variable a specific value and continue execution.
Use a high-level debugger or interpreter to do the following:
Set a breakpoint at the code block of interest.
Add a command list to the breakpoint step over a loop control statement to cause the loop to execute at least once
If there is a control path that isn’t being executed, and a variable that can take on a value that will exercise that path, use the basic or refined tactics. If you have a high level debugger, you can also use the related tactics.