How do I make the Xcode debugger show uint8_t values as numbers?

Viewed 361

The Xcode debugger expression window shows uint8_t values as their char equivalents.

enter image description here

So here m_interlace_delay is 0, m_column is 48, m_row is 10 and m_raster is 10.

What can I do to make Xcode display these values as numbers? I am happy for char values to be shown as chars, but for uint8_t I'm finding it rather inconvenient.

Individual values can be cast to unsigned or something, by adding new expression by hand, but this doesn't work for structs or arrays.

(Xcode Version 10.1 (10B61), debugging a Mac program.)

0 Answers
Related