cmullins7 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Change default 'variables' during debug to display in Hexadeimal instead of Decimal #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a python file
2. Run the file in debugger
3. look at variables window

What is the expected output? What do you see instead?
Default format of 'numbers' is in Decimal system
It should be possible for users to convert the display to be in Hexadecimal
system.

What version of the product are you using? On what operating system?
Verion 1.9.9.2 on WinXP SP2

Please provide any additional information below.
Many times Python is used as a glue language between an embedded
environment and user level scripting. In such cases, scripts read/write
hardware registers. The value of these registers is more comprehensible
when in Hex formatting. Hence, it makes debugging much simpler if the
variable displayed can be done in Hexadecimal instead of default decimal
system. Currently, we've have to do a:

>>> hex(var1) to see the result.

Original issue reported on code.google.com by vsapr...@gmail.com on 10 Jun 2008 at 12:31

GoogleCodeExporter commented 9 years ago
Why not add a watch to hex(var1)?

Original comment by pyscripter on 3 Sep 2010 at 2:41

GoogleCodeExporter commented 9 years ago
Issue 770 has been merged into this issue.

Original comment by pyscripter on 28 Mar 2015 at 10:19