POV-Ray : Newsgroups : povray.general : Enabling debug output to console under Windows : Re: Enabling debug output to console under Windows Server Time
24 Apr 2024 06:36:23 EDT (-0400)
  Re: Enabling debug output to console under Windows  
From: Bald Eagle
Date: 4 Feb 2023 10:35:00
Message: <web.63de7b176feb0ae91f9dae3025979125@news.povray.org>
"yesbird" <nomail@nomail> wrote:
> -------------------------------------
> /* try1 */
>
> #version 3.7;
>
> global_settings {assumed_gamma 1}
>
> box {0,1}
>
> // #declare s_ = "a string to display"; // THis works
> #declare s_ = "----------------- DEBUG -----------------------------"; // This
> not
>
> #debug concat(s_, "\n")
>
> #error "No objects in scene"
> // #warning "end-of-file"
> -------------------------------------
> Gives:
> "C:\temp\povtest\try1.pov" line 14: Parse Error: Parse halted by #error
> directive: No objects in scene
>
> without console output, but with debug print in try1.txt (attached).


Hi Sergey,

Excellent.   Now you can comment out the #error message and get on with what
you've been trying to do for the last several hours.

This is "fun", eh?

-Bill


Post a reply to this message

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