I wish the debugger toolbar icons/buttons were always enabled. (Well, ok, I don't care about pause, continue and step.)
Having the Stop enabled full time would allow one-click to close debugger windows.
With the Variable Viewer and Watchlist buttons always enabled, it would allow one click to turn on/off those windows, rather than doing it every time you debug, or within the (many clicks to access) preferences.
This can't be a difficult or time consuming edit...in fact, it should be just deleting unnecessary code...?
Thanks.
[edit... Oops, I guess those Watch buttons would have to be turned into toggles, too... oh, well. It will still be very handy.]
Keep debugger Toolbar icons enabled
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Keep debugger Toolbar icons enabled
Can you post some example code where the Stop button is DISABLED when the code is running? Because I've never seen this.Tenaja wrote:Having the Stop enabled full time would allow one-click to close debugger windows.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Keep debugger Toolbar icons enabled
What I want is the Stop button Enabled, when the code is NOT running...as I said,
...because after a program is DONE running, there may still be many debug windows open.Having the Stop enabled full time would allow one-click to close debugger windows.
Re: Keep debugger Toolbar icons enabled
Perhaps then an option to close the debugger window when the application is killed would be better.Tenaja wrote:...because after a program is DONE running, there may still be many debug windows open.
I don't see the point in having the button enabled when no programs are running.

-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Keep debugger Toolbar icons enabled
The IDE already does that.moogle wrote:Perhaps then an option to close the debugger window when the application is killed would be better.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Keep debugger Toolbar icons enabled
True, I haven't used PB in a whileMachineCode wrote:The IDE already does that.moogle wrote:Perhaps then an option to close the debugger window when the application is killed would be better.

Well then this request doesn't look like it'll be supported by the majority then. I can't see the problem or use of it.

Re: Keep debugger Toolbar icons enabled
The point is so you can close "all" of the debugger windows with one click! Currently, you can't do that after the code is finished, unless you manually set up a shortcut. (Which I did... I just don't think it should be necessary for newbies to have to figure this out! It is not well documented, and having the button active all the time will not have adverse effects.)moogle wrote:...I don't see the point in having the button enabled when no programs are running.
Re: Keep debugger Toolbar icons enabled
Tenaja wrote:The point is so you can close "all" of the debugger windows with one click! Currently, you can't do that after the code is finished, unless you manually set up a shortcut. (Which I did... I just don't think it should be necessary for newbies to have to figure this out! It is not well documented, and having the button active all the time will not have adverse effects.)moogle wrote:...I don't see the point in having the button enabled when no programs are running.
Ahh well I don't have many debugger windows opened. Perhaps a close all debugger windows button instead would be better?

Re: Keep debugger Toolbar icons enabled
Yes, that would work, but would likely require extra work... I was just suggesting a "quick & easy" addition to PB IDE that would be helpful.
I don't use the debuggers all the time, either...but when I do, I often have the CallStack, the Variable Viewer, the Watch Window, and also the Debug window open. (Recursive programming makes the CallStack appreciative.) It gets tedious closing all those windows so there's room to see the IDE.
I don't use the debuggers all the time, either...but when I do, I often have the CallStack, the Variable Viewer, the Watch Window, and also the Debug window open. (Recursive programming makes the CallStack appreciative.) It gets tedious closing all those windows so there's room to see the IDE.