Importing register values

While in a debug session, you can import values to the Watch registers view from an XML-formatted file.

To learn how to get a file with register values for import, refer to topic Exporting register values.

To import values to registers:

  1. Open the Watch registers view.
  2. Click the (Import registers from file) toolbar button on top of the Watch registers view.
  3. In the Import Registers dialog box, specify the full path to the file containing the registers to be imported.



  4. Click Next.
  5. Choose to import only registers or registers with values.
  6. Under Registers, choose to import all registers or leave the selected ones.



  7. Click Finish.

If imported with values, the values are loaded to the registers. The Watch registers view displays the imported registers.

The value is not imported if:
  • register is read-only,
  • register is write-once or read-write-once and value is already set.
Such registers are skipped rather than updated.
For registers marked Read on demand import gives the following results:
  • if the Watch registers view was clear before import, it displays the “?” as value for the registers,
  • if that same registers were added to the Watch registers view earlier (before import), it will display:
    • the previously read value,
    • the “?” as value if the Read was not performed for that register.