ArdenDev
ArdenDev

Reputation: 4191

NSDecimalNumber does not display values in console

I'm using Xcode 9.1 and when I try to display the NSDecimalNumber values in Xcode debugger console, it prints it out like this.

po amount
0x0000000147354340

However when I use NSLog(@"%@", amount) it displays the correct number in the console.

I recall this used to work before, did something change or is there another way to print NSDecimalNumber values in the console

Upvotes: 0

Views: 57

Answers (1)

ArdenDev
ArdenDev

Reputation: 4191

After reading through a few SO articles, I found that disabling the 'Address Sanitizer' it started working again for me.

Upvotes: 0

Related Questions