Debugger: possibility to force variables or states from the debugger to test something?

In case you want to change data shown in the watch (it is also possible to alter local variables), the code must be in a stopped state (in a breakpoint for example). Then simply double-click the data you want to alter and type in the new value, and press ‘Enter’.

This can be very useful; to test another behavior of your program (could be changing a state-machine state variable).