- Put a breakpoint at line 3 in the below code.
- Debug the app onto iOS device or simulator.
- Click on the label, so that the thread suspends its execution at line 3.
- Now, change the value of 'txt' to "changed". Press F8 (Resume). The dialog shows the message "changed". It works !
Click on the label again to suspend the thread at the same line. Now, change the value of 'txt' to changed. Press F8 (Resume). The debugger/app will crash.