add "$" for hexadecimal when debugging

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Maitre_Kanter
User
User
Posts: 84
Joined: Mon Sep 06, 2010 3:05 pm

add "$" for hexadecimal when debugging

Post by Maitre_Kanter »

Hi there,

Is it possible to add the "$" char when debugging if "Display Hexadecimal" is checked ?

It's confusing to see '10'. May be 10 or 16 in decimal...

TIA
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: add "$" for hexadecimal when debugging

Post by Dude »

If "Display Hexadecimal" is checked, then why would you expect 10 to be decimal? :shock: You've set it all to hex, so that's what you're seeing.
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: add "$" for hexadecimal when debugging

Post by Sicro »

Hello Dude,

not all programmers work only with their own PB IDE. If you are working on the PB IDE from a colleague or you have stopped working with PB for a while and do not know the settings anymore, it is not always clear whether the value is displayed as a decimal or hexadecimal. It is clear only when you look at the PB settings or it is a value, which is recognizable as a hexadecimal value.

+1
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: add "$" for hexadecimal when debugging

Post by davido »

I think it adds clarity so...

+1
DE AA EB
Post Reply