[Implemented] Courier as font in debugger

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

[Implemented] Courier as font in debugger

Post by Joakim Christiansen »

I want the debugger to use a Courier font so all the characters have the same width, would be much better when you try to list stuff...
Actually I think the user should be able to choose the in from the preferences!
I like logic, hence I dislike humans but love computers.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Definately needs to be non-proportional. Good idea.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Courier as font in debugger

Post by PB »

I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Philippe-felixer76
User
User
Posts: 57
Joined: Mon Dec 18, 2006 2:02 pm
Location: Holland

Re: Courier as font in debugger

Post by Philippe-felixer76 »

Mabe another request on 19-04-2007 would help a bit...

Realy Fred, it would be very handy to be alble to change the
font in the debugger.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Courier as font in debugger

Post by PB »

The debugger should have an option for the font; not just lock it to Courier.

And another idea for the debugger: it should have a horizontal slider bar,
so we can see all the lengths of long strings, as in this (silly) example code:

Code: Select all

For a=1 To 500 : a$+Chr(Random(254)+1) : Next
Debug a$ ; Currently the debugger doesn't show all this.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

:D :D :D
BERESHEIT
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

@netmaestro: Seriously, sometimes the Debug output can be very long, and
without a way to scroll it's pointless. I end up having to code a MessageBox
instead just to see it all. :(
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

I just copy if the result is long. And yes the suggestion is good. :)

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I just copy if the result is long

Too much extra work, because you lose what's in the clipboard, and then have
to paste it somewhere to view it. Better to just scroll to see it immediately. Can't
see how hard this would be too add -- it's just a window style flag. :P
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

PB wrote:> I just copy if the result is long

Too much extra work, because you lose what's in the clipboard, and then have
to paste it somewhere to view it. Better to just scroll to see it immediately. Can't
see how hard this would be too add -- it's just a window style flag. :P
Actually it is not... the ListView is a bit weird there and you have to do size calculations manually then.

Anyway, did you try this in the 4.10 beta? ;)
quidquid Latine dictum sit altum videtur
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Anyway, did you try this in the 4.10 beta? ;)

Now I have... ohhhhhhh! :) Where can I donate to you?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

hehe good one :twisted:
BERESHEIT
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

And I actually didn't notice it had a scrollbar now because it doesn't show up
initially -- so I can be forgiven for not noticing it before! :P
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

@freak:

I know you're busy just now, but if you could find some time later today to forgive PB that would be great. Thanks!
BERESHEIT
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

PB wrote:And I actually didn't notice it had a scrollbar now because it doesn't show up
initially -- so I can be forgiven for not noticing it before! :P
Which means you didn't actually need this! :twisted:
Post Reply