### Registers Monitor

Use the Registers monitor to view or modify the contents of the registers monitored for your program. The debugger displays a separate Registers monitor for each thread.

The Registers monitor shows the contents of processor registers for a particular thread in your program. If you are debugging multiple threads, you can display a separate Registers monitor for each thread. Although all threads share the same set of registers, the operating system saves the register contents of each thread as the thread is suspended, and restores that thread's processor contents when the thread resumes.

In the Registers monitor, floating-point registers are displayed either as floating-point decimal numbers or as hexadecimal values. To change their representation, go to the Source window or the Session Control window, select Options->Debugger settings->Default data representation->System, and choose Floating point or Hexadecimal.

If you are debugging an application for OS/2 or Winddows and you step over a source line containing floating-point arithmetic, you may find that the values of floating-point registers in the Registers monitor are not displayed. Instead, "Not used" appears beside each register.

View the Contents of Registers
Add Expressions and Variables to a Monitor
Change the Contents of Registers
Change Which Registers Are Displayed
Change the Layout of the Registers Monitor
Display Folating-Point Register Contents