POV-Ray : Newsgroups : povray.windows : Vs 2017 debug : Re: Vs 2017 debug Server Time
1 Dec 2021 04:55:05 EST (-0500)
  Re: Vs 2017 debug  
From: Kenneth
Date: 15 Feb 2018 08:00:01
Message: <web.5a8583a3c588b266a47873e10@news.povray.org>
It is a known problem (or behavior) with #debug and the message window.

#debug "This is my message"
....will NOT show up in the 'messages' window, even though it should do so. It
needs to have a 'line break' at the end   \n  like this:

#debug "This is my message\n"

Here is another example that also works, because it uses more than one #debug:
#debug "This is my message" // no \n  here this time-- but it WILL show up now,
// because the 2nd #debug *does* use \n
#declare FOO = 347.188;
#debug concat("\n","FOO = ", str(FOO,0,3),"\n")

It is complicated! ;-)


Post a reply to this message

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