POV-Ray / povray

The Persistence of Vision Raytracer: http://www.povray.org/
GNU Affero General Public License v3.0
1.35k stars 282 forks source link

Debug string is not displayed in console if start with more than 14 hyphens #449

Open syanenko opened 1 year ago

syanenko commented 1 year ago

Summary Debug string is not displayed in console if start with more than 14 hyphens. Same behavior if final '\n' character is missing.

Example:

declare s_ = "----------------- DEBUG -----------------------------"; // String is not displayed in console

debug concat(s_, "\n")


number of hyphens is matter - threshold is 14:

declare s_ = "--------------"; // This works

declare s_ = "---------------"; // This not

POV-Ray Version

Runtime Environment

Steps to Reproduce

  1. Create scene, contaning above example
  2. Render scene
  3. Look at console output

Expected Behavior

Debug string should be displayed

Actual Behavior

Debug string missed in console output

Workaround Reduce number of leadinh hyphens

wfpokorny commented 1 year ago

FWIW. I'm not seeing the issue on my Ubuntu 22.04 linux machine with the v3.8 based compiled versions I have in hand.

I don't use Windows so I'm unable to try the posted code in that environment.

CousinRicky commented 10 months ago

If I recall correctly from my Windows days, 15 or more hyphens in a row creates a horizontal rule. Do you observe this behavior?