POV-Ray : Newsgroups : povray.pov4.discussion.general : Parser request: postmortem call stack Server Time
27 Dec 2024 21:41:55 EST (-0500)
  Parser request: postmortem call stack (Message 1 to 1 of 1)  
From: Cousin Ricky
Subject: Parser request: postmortem call stack
Date: 10 Aug 2008 21:10:00
Message: <web.489f90a7a58ce17e85de7b680@news.povray.org>
In POV 3.x, when there is a parsing error, only the code proximate to the error
is displayed.  However, the ultimate cause or the error is often in a different
part of the file, or even a different file altogether.  This is a real problem
if a bad parameter is passed to a library macro.  For example, Round_Cylinder
(-y, y, 2, 1, no) causes a degenerate cylinder error in shapes.inc, but what you
really need to know is which part of your code *called* Round_Cylinder().  It
would be very helpful for debugging if the entire macro call stack is
displayed.

Thank you.


Post a reply to this message

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