Could we have a command for clearing the debug console, after a few regular DEBUG prints its very confusing whats happening.
for example a loop with...
DEBUG "MX: "+mx +","
DEBUG "MY: "+my+","
produces...
MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,MX: 0,MY: 0,
...with the debug console scrolling continuously
If we had the command DEBUGCLS
DEBUGCLS
DEBUG "MX: "+mx +","
DEBUG "MY: "+my
MX: 0,MY: 0
or
DEBUGCLS
DEBUG "Mouse Co-Ordinates"+"\n"
DEBUG "------------------"+"\n"
DEBUG "MX: "+mx +"\n"
DEBUG "MY: "+my+"\n"
produces...
Mouse Co-Ordinates
------------------
MX: 0
MY: 0
Just a suggestion ;)
good idea I think
You can simple Debug mx or any other Var. @ the right side of the IDE !
New are Array[] Debuging !
Thats Nice , Gernot :D
If you need DEBUGCLS, you can use PRINT on the screen as well for debugging. No?
I can use Print but the console is free debug display space and easier to read. So if I need to watch what happens on the screen without the screen being blocked and overwritten with debug stubs, then the console would be ideal.
CLEARCLS, used in this way allows a basic debug variable 'watch' functionality.
Well, OK. I'm adding it. I thing DEBUG "\f" is what I'll do. \f is a form-feed (new page for a printer), that fits pretty good, OK?
Hehe, thanks Gernot! :)