POV-Ray : Newsgroups : povray.beta-test : A note on #debug output in v3.7, beta 29 Server Time
28 Jul 2024 18:17:52 EDT (-0400)
  A note on #debug output in v3.7, beta 29 (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 16 Dec 2008 10:42:46
Message: <4947cc76@news.povray.org>
"Kyle" <no### [at] spamok> schreef in bericht news:4947ae46$1@news.povray.org...
>
> I just installed version 3.6.1c, and the result is the same as in version 
> 3.6.1a, the text shows up right after the "Peak memory used" message.
>
> Just to reiterate, this is not the case in version 3.7, beta 29.

Ah! ok! I just have been blind to the "Peak memory used" note from your 
post. Obviously I have been thinking of something else  :-)

The point is that I use the #debug statement quite a lot in my scenes to 
check the parsing procedure or the output of some parameters during testing. 
As such, I need the message to be written right away, and I had not noticed 
the writing of it at thre end of the render. Sorry for the confusion.

Thomas


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 16 Dec 2008 17:07:49
Message: <494826b5@news.povray.org>
Thomas de Groot wrote:
> The point is that I use the #debug statement quite a lot in my scenes to
> check the parsing procedure or the output of some parameters during
> testing. As such, I need the message to be written right away, and I had
> not noticed the writing of it at thre end of the render. Sorry for the
> confusion.

Just make sure you print a newline at the end.


Post a reply to this message

From: Chambers
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 16 Dec 2008 18:47:28
Message: <C78F717E7F134FCAB39FAD0DAE442E2B@HomePC>
It should be easy enough for POV to output a final newline at the end of
all messages just to clean up things like this.

...Ben Chambers
www.pacificwebguy.com


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 17 Dec 2008 03:40:13
Message: <4948baed@news.povray.org>
Chambers wrote:
> It should be easy enough for POV to output a final newline at the end of
> all messages just to clean up things like this.

Except that you frequently do not want automatic newlines: They prevent 
assembly of longer outputs using multiple debug statements.

	Thorsten


Post a reply to this message

From: Thomas de Groot
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 17 Dec 2008 04:03:44
Message: <4948c070$1@news.povray.org>
"Nicolas Alvarez" <nic### [at] gmailcom> schreef in bericht 
news:494826b5@news.povray.org...
> Thomas de Groot wrote:
>> The point is that I use the #debug statement quite a lot in my scenes to
>> check the parsing procedure or the output of some parameters during
>> testing. As such, I need the message to be written right away, and I had
>> not noticed the writing of it at thre end of the render. Sorry for the
>> confusion.
>
> Just make sure you print a newline at the end.

Yes, that is exactly what I found out. I came across the problem when I 
wanted to show a message about the start and then the end of a particular 
parsing block, and both written on the same line. But both messages only 
appeared together at the end of the block.

Thomas


Post a reply to this message

From: Kyle
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 17 Dec 2008 07:29:40
Message: <4948f0b4$1@news.povray.org>
I'd suggest simply outputting whatever remains in the #debug message 
buffer upon completion of the scene.  Doing so would match the 
functionality that's in version 3.6.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 17 Dec 2008 14:41:36
Message: <494955f0$1@news.povray.org>
Kyle wrote:
> I'd suggest simply outputting whatever remains in the #debug message 
> buffer upon completion of the scene.  Doing so would match the 
> functionality that's in version 3.6.

That is already what 3.7 is supposed to do. I was not making the point that 
the 3.7 behavior is intentional, just that a change to always output a 
newline automatically is not desirable.

	Thorsten


Post a reply to this message

From: Chambers
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 17 Dec 2008 22:03:27
Message: <4803970500DD404DA341F4F68FC5A379@HomePC>
> -----Original Message-----
> From: Thorsten Froehlich [mailto:tho### [at] trfde]
> Chambers wrote:
> > It should be easy enough for POV to output a final newline at the
end
> of
> > all messages just to clean up things like this.
> 
> Except that you frequently do not want automatic newlines: They
prevent
> assembly of longer outputs using multiple debug statements.

Read my message again:

"a final newline at the end of all messages"

If it makes it any clearer, you can say "a newline after all output
streams have been printed."  Or, to put it another way, after parsing
you flush the output stream buffers and then print a newline.

...Ben Chambers
www.pacificwebguy.com


Post a reply to this message

From: Nicolas Calimet
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 19 Dec 2008 05:42:20
Message: <494b7a8c$1@news.povray.org>
> Or, to put it another way, after parsing
> you flush the output stream buffers and then print a newline.

	Yes, in case this is not yet the intended behavior in 3.7, I'd support
the idea that the debug buffer be forcefully flushed before the render starts
and not only at the end of the povray run.

	- NC


Post a reply to this message

From: Chris Cason
Subject: Re: A note on #debug output in v3.7, beta 29
Date: 3 Jan 2009 05:50:16
Message: <495f42e8@news.povray.org>
Kyle wrote:
> I'd suggest simply outputting whatever remains in the #debug message 
> buffer upon completion of the scene.  Doing so would match the 
> functionality that's in version 3.6.

Anyone have time to contribute a patch to do this?

-- Chris


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.