Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.8.1
-
None
-
Tested on Linux. Not sure about windows.
-
d12bbe2178ac530cf63188e9e189928b2fa964c7
Description
How to reproduce:
- create program using C (or NASM)
- move negative value (for example -5) to one of the registers (for example EAX)
- debug your program and display "Registers" tab, and navigate to your "EAX" assignment
What is displayed?
According to "Registers" tab, EAX contains value "4294967291" (base 10), which is not correct.
What should be displayed?
"Register" tab should display "-5" (base 10) as the value of EAX.
Background.
I believe that larger number of programmers is interested in real value (two's complement) stored in the registers, not RAW value. The best solution would be to add ONE COLUMN to "Registers" tab, something like "Real value".
PS: Registers tab does NOT remember its settings. If I debug the program and switch to decimal-base view of the registers values, stop debuggin and start it again, then I would expect that I will see decimal-base view of the registers values again. Instead I see hexadecimal-base values.