povray
povray copied to clipboard
Debug string is not displayed in console if start with more than 14 hyphens
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
- Create scene, contaning above example
- Render scene
- 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
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.
If I recall correctly from my Windows days, 15 or more hyphens in a row creates a horizontal rule. Do you observe this behavior?