POV-Ray : Newsgroups : povray.windows : Can I set breakpoint in the codes to debug? : Re: Can I set breakpoint in the codes to debug? Server Time
17 May 2024 17:34:26 EDT (-0400)
  Re: Can I set breakpoint in the codes to debug?  
From: Thorsten Froehlich
Date: 17 Dec 2007 08:02:29
Message: <47667365$1@news.povray.org>
Jack wrote:
> I am a new-user and met some problems when using POV-ray. I use Version 3.6.1
> for Windows. Here are the problems:
> 1,After the rendering, how to direct the POV-Ray text output streams to a file?

By reading the documentation.

> 2,After the rendering, I click 'View histogram image file' in the 'Tools' menu,
> but it says 'No file to open'. How can I deal with this problem? Thanks!

By reading the documentation.

> 3,How to smart-indent the .pov file to clearly show the source codes in the
> loops and #if-else-end. For example, I copy some source codes in the tutorial
> to the pov 'editor window', but they are in a mess, and difficult to read and
> knew which loops the codes belong to. So I want to select them all and
> smart-indent them. Is there any ways I can deal with this question? Thanks!

You can indent them manually.

> 4,How to set breakpoint in the codes to debug? Thanks!

You can't, there is no such thing as a breakpoint.

> 5,How to check the variable's value after the rendering? Thanks!

By using the #debug statement you can check it at the end of parsing or
during parsing. The variables won't exist any more as soon as rendering starts.

	Thorsten


Post a reply to this message

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