Popup window value in Hex lazarus / 12-Debugger ---------------------------------------------------------------------- 440bx · 2025-05-06 17:14 Hello, I believe (maybe incorrectly) that there was a way of telling the debugger to display values in hex in the little popup window that appears when hovering over a variable but, I have forgotten the setting that makes it happen. That's the question: how do I tell the debugger to display values in hex in the popup window that appears when hovering over a variable ? Thank you for your help. ETA: Added a snapshot of the debugger pop up window. ---------------------------------------------------------------------- Martin_fr · 2025-05-06 19:01 You need Lazarus 4.0 (or 4.99) Tools > Options > Debugger > Display Format. From the tabs/buttons in the top row chose: "Hints" Then configure the "number" section as you like. ---------------------------------------------------------------------- 440bx · 2025-05-06 19:22 Quote from: Martin_fr on May 06, 2025, 09:01:44 pmYou need Lazarus 4.0 (or 4.99) I'm currently using v4.0rc3 (will eventually switch to 4.0 final or some other later release.) Quote from: Martin_fr on May 06, 2025, 09:01:44 pmTools > Options > Debugger > Display Format. From the tabs/buttons in the top row chose: "Hints" Then configure the "number" section as you like. Just in case someone else is interested, it was necessary to restart Lazarus, just clicking "Apply" was not sufficient but hex values were shown after restarting Lazarus. Now, I have another question: I noticed that there is a "Number" and "Number (2nd)" in General and also in Hints.  Setting either one provided the display in Hex.   My question is: what's the difference between setting it in "General" instead of "Hints" ? Thank you Martin, it's great to have the values displayed in hex. ---------------------------------------------------------------------- Martin_fr · 2025-05-06 19:32 Quote from: 440bx on May 06, 2025, 09:22:09 pmJust in case someone else is interested, it was necessary to restart Lazarus, just clicking "Apply" was not sufficient but hex values were shown after restarting Lazarus. That would be a bug.... (Confirmed)... More work QuoteNow, I have another question: I noticed that there is a "Number" and "Number (2nd)" in General and also in Hints.  Setting either one provided the display in Hex.   My question is: what's the difference between setting it in "General" instead of "Hints" ? Number (2nd) means that the number is displayed in both formats. General is the base setting for all displays (hints, watches, locals, ...). It is used, if there is no other setting. For Hints, it first checks the - project settings: display format hints - global settings: display format hints - project settings: display format general - global settings: display format general For watches it will start in the watch properties, then go through a similar search. Further more display formats can be controlled by "value formatters" too. Which will be checked first. (in the order from project, then global) ---------------------------------------------------------------------- 440bx · 2025-05-06 19:47 Thank you Martin. ---------------------------------------------------------------------- Martin_fr · 2025-05-06 20:46 Quote from: Martin_fr on May 06, 2025, 09:32:13 pmQuote from: 440bx on May 06, 2025, 09:22:09 pmJust in case someone else is interested, it was necessary to restart Lazarus, just clicking "Apply" was not sufficient but hex values were shown after restarting Lazarus. That would be a bug.... (Confirmed)... More work Fixed ---------------------------------------------------------------------- 440bx · 2025-05-06 20:48 Quote from: Martin_fr on May 06, 2025, 10:46:02 pmFixed I was just about to ask you if you wanted me to create a ticket for that bug when I got the message that there was a new post. Great, I'm rather pleased it's fixed.  Thank you Martin.