Hi.
I'm just trying to learn how to use the debug script and what I want to do is to modify a variable from the source code, continue to run whatever functions the variable is involved and store a result to a log file. This process will be repeated with different variable values.
Example:
int Square (int x) { x*x; } int z = 1; int y = Square(z)
I'll run Square for five times (using breakset) while substituting z with 1, 2, 3, 4, and 5 in each run. I already know how to do the logging but not the read/modify variable.
An example will be much appreciated. TIA