SRL Archive - Research & Development Lounge

ClearLastDebug


Shuttleu

2011-05-10 06:06:43

i have requested this before, but it never got added
can you add a function to clear the last debug line, it would be useful for doing countdowns.
instead of the debug being filled with

10:12
10:11
10:10
10:09
10:08
10:07
10:06
10:05
10:04
etc.

it can just be

10:04


if i remember correctly it was going to be added, but never did

~shut

i luffs yeww

2011-05-10 09:50:01

Simba doesn't really have any of the cool/useful debugging features that SCAR has, sadly. :/ Not really sure why, but whatever.

Would be useful, imo.

footballjds

2011-05-10 10:19:31

From: i luffs yeww
Simba doesn't really have any of the cool/useful debugging features that SCAR has, sadly. :/ Not really sure why, but whatever.

Would be useful, imo.


yeah, i'm looking forward to the new scar-divi :D


PS *ANYONE READING THIS*
if you wanna de-rep me for saying that include your name and address

Shuttleu

2011-05-10 10:32:42

From: footballjds
yeah, i'm looking forward to the new scar-divi :D


PS *ANYONE READING THIS*
if you wanna de-rep me for saying that include your name and address


i would never de-rep you for having your own opinion

~shut

footballjds

2011-05-10 10:40:09

From: Shuttleu
i would never de-rep you for having your own opinion

~shut


thats is a mindset few here at srl share. =/

But thank you, (:

Flight

2011-05-10 11:08:29

From: Shuttleu
i would never de-rep you for having your own opinion

~shut


I agree with this… Why would you be de-repped for something that simple? I'll +rep you to compensate. :p

Shuttleu

2011-06-13 06:14:07

bump, please

~shut

Wizzup?

2011-06-13 06:19:48

Why not use Status() for this?
Debug messages are … debug messages. If you really need it file a bug report, but I think this is typically the kind of functions that we didn't want to add in Simba because they are silly. :p
If anything, it will probably come with tabbed debugging.

masterBB

2011-06-13 06:27:33

From: Wizzup?
Why not use Status() for this?
Debug messages are … debug messages. If you really need it file a bug report, but I think this is typically the kind of functions that we didn't want to add in Simba because they are silly. :p
If anything, it will probably come with tabbed debugging.


We use debug messages for multiple things, including progress report and timers. Because this is one of the few ways to interact with the 'user' about how the script is doing, without the use of on screen information(SMART). Maybe we need to give it another name :P.

Dgby714

2011-06-13 09:16:17

From: Wizzup?
Why not use Status() for this?
Debug messages are … debug messages. If you really need it file a bug report, but I think this is typically the kind of functions that we didn't want to add in Simba because they are silly. :p
If anything, it will probably come with tabbed debugging.


The tabbed debugging I've been working on gives you complete control over the contents.

Here is how you would do this in mine.
procedure ClearLastDebug;
begin
with GetTab(tbDebug) do
Delete(Count - 1);
end;
GetTab gives you a TStringList that you can modify and it will show in that tab. =)

tom99

2011-06-13 09:54:08

i know you can clear last line in a form if its Tlist.

Gu3st...

2011-06-13 11:32:46

@OP: Try making it in Simba yourself :) Should be a nice task to do, and the possibility of being added to Simba increases a lot if you actually have the code.

Wizzup?

2011-07-23 12:07:14

If you still want it, please file a bug at http://bugs.villavu.com and someone will run into it when doing their ``what bug shall I solve now'' trips.