povray icon indicating copy to clipboard operation
povray copied to clipboard

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

Open syanenko opened this issue 2 years ago • 2 comments

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

  • Incarnation: POV-Ray for Windows
  • Affected build version: 3.7.0, 3.8.8-beta2

Runtime Environment

  • Operating system: Windows 7
  • Hardware architecture: x86-64
  • CPU model: [e.g. Intel Core i5

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

syanenko avatar Feb 04 '23 23:02 syanenko

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.

wfpokorny avatar Feb 07 '23 07:02 wfpokorny

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

CousinRicky avatar Oct 12 '23 03:10 CousinRicky