With the Set Execution Point to Cursor feature, you can jump to any line of code in the editor during a debugging session and set an execution point at that location, bypassing all the code between the current location and the target location.
This feature applies to linear and non-linear execution paths, used for interrupting and skipping loops, or for selecting another branch in if-else statements or switch-case statements. For example, if you want to check another branch without restarting the debugging session, you can use this feature.


With Set Execution Point to Cursor, only the value of the program counter is changed, and the values of other registers are not modified, which may lead to unpredictable errors, such as:
There may be other unexpected issues, such as variable value confusion and abnormal stack information.