POV-Ray : Newsgroups : povray.general : Enabling debug output to console under Windows : Re: Enabling debug output to console under Windows Server Time
23 Jun 2024 06:14:08 EDT (-0400)
  Re: Enabling debug output to console under Windows  
From: yesbird
Date: 4 Feb 2023 10:30:00
Message: <web.63de799b6feb0ae94ad5859710800fb2@news.povray.org>
-------------------------------------
/* 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).


Post a reply to this message


Attachments:
Download 'try1.txt' (1 KB)

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