Debugger check : hexa value

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Ollivier
Enthusiast
Enthusiast
Posts: 281
Joined: Mon Jul 23, 2007 8:30 pm
Location: FR

Debugger check : hexa value

Post by Ollivier »

Hello,

I think it would be better if we can read the hexadecimal value too.

Code: Select all

Variable [256
          $100]
Thank you

Ollivier
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

hu? ... how do you mean your question?

Code: Select all

Restore values
For n=0 To 2
  Read.b out.b
  Debug out
Next
DataSection
values:
Data.b $F0, $E0, $23
EndDataSection
oh... and have a nice day.
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

Kaeru Gaman wrote:hu? ... how do you mean your question?

Code: Select all

Restore values
For n=0 To 2
  Read.b out.b
  Debug out
Next
DataSection
values:
Data.b $F0, $E0, $23
EndDataSection
I think he means when the mouse pointer is over the code being debugged. It currently displays the variables current value only in decimal.
Ollivier
Enthusiast
Enthusiast
Posts: 281
Joined: Mon Jul 23, 2007 8:30 pm
Location: FR

Post by Ollivier »

Exactly.

There is a little problem too.

When the mouse pointor is placed over a expression which must be analyzed by the debugger check (which is a very good idea), if the expression is too much at the right of the scope, the tip message given by the debugger check is outside the screen. Consequently, we can't read directly the value. The user must move the editor scroll bar from left to right.

If it was possible to have a correction of the position of the value tip message in order to read always the values directly, it could be a plus.

Ollivier
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

oh, I'm sorry, misunderstood this.

what about a general flag in the preferences, to chose if dec or hex should be displayed?
I think most times a programmer wants to see hex only or dec only...
oh... and have a nice day.
Post Reply