When in a debug session, you can export values from peripheral registers to an XML-formatted file.
To export peripheral register values:

If a register is read-only or not marked for reading, the register value is not exported to the file. Instead, the “value” XML element shows the “?” character for each byte.