Automatically minimize Debug Output window

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Hi-Toro
Enthusiast
Enthusiast
Posts: 269
Joined: Sat Apr 26, 2003 3:23 pm

Automatically minimize Debug Output window

Post by Hi-Toro »

Fred & co, please could you consider adding the option to have the Debug Output window automatically minimize when running a program?

Debug mode can seem really slow when outputting a lot of information (eg. listing sub-directories), but I've found that if you minimize the Debug Output window it can finish in a fraction of the time, and you can then just review the output at your leisure.

Try this in Debug mode -- the Debug Output window opens and prints "Hello World" 10,000 times, but takes around 10 seconds to do so here:

Code: Select all

For a = 1 To 10000
	Debug "Hello World"
Next
Now try it again, but immediately minimize the Debug window -- the program now ends in around 2 seconds!

It'd be nice if it could automatically minimize when running a program, and perhaps also pop up when a program is ended.

Thanks for reading!
James Boyd
http://www.hi-toro.com/
Death to the Pixies!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Automatically minimize Debug Output window

Post by PB »

I disagree. I like to see it when I run my apps, and having to restore it would
suck. In another post Freak said there is a big speed increase for the debug
window for v4.40, so perhaps wait for that? See here for the discussion:
http://www.purebasic.fr/english/viewtopic.php?t=34063
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Hi-Toro
Enthusiast
Enthusiast
Posts: 269
Joined: Sat Apr 26, 2003 3:23 pm

Post by Hi-Toro »

I was asking for the option to minimize the window, not to force it on everyone. It's certainly useful to be able to see it by default too.

I don't imagine that much can be done to speed up the listview display, since that's controlled by Windows.
James Boyd
http://www.hi-toro.com/
Death to the Pixies!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Sorry, I missed the word "option". :oops: I was going by the title only.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply