Making code updates while debugging an application

The EGL debugger supports hotswapping, which means that the debugger processes the code changes that you make as you step through an application. Hotswapping lets you to test and modify your application at the same time. To take advantage of this feature, set the Enable hotswapping EGL debug preference:
  1. From the main menu, click Window > Preferences. The Preferences page is displayed.
  2. Expand EGL and click Debug. The Debug dialog box is displayed.
  3. Click Enable hotswapping.
  4. Click OK to save the changes and exit the page.

If hotswapping is enabled and you change a function that is on the function stack, the debugging session continues at the first line of the changed function.

Compatibility

Table 1. Compatibility considerations for hot swapping
Platform Issue
Rich UI Hot swapping is not supported. Similarly, the EGL debugger does not respond to changes made to variable values in the Variables view.

Feedback