Debugger Only Shows Integer Values As Hex, Not Base 10

a_unique_name 401 Reputation points
2024-02-10T01:49:42.7+00:00

Hello Folks: I'm using Visual Studio Community on Windows 10 Pro to develop C++ code.
Yesterday my copy of Visual Studio learned a new trick when I'm debugging code.
Any integer variable displayed in a watch window or being hovered over is displayed as base 16, not base 10.
I clicked on Debug > Options... > Debugging > General but I don't see anything that looks like it's causing the problem.
I downloaded the latest Visual Studio, Version 17.8.6. The problem persists.Any suggestions?
Thanks
Larry

Developer technologies Visual Studio Debugging
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 122.5K Reputation points
    2024-02-10T05:59:44.94+00:00

    Try to right-click the Watch or Locals window, and select “Hexadecimal Display”.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.