[vtkusers] catching VTK errors

Mathieu Coursolle mcoursolle at rogue-research.com
Mon Aug 6 16:37:52 EDT 2007


Hi,

I am not sure if this is what you are experiencing, but
some text is printed to the output (stdout and/or stderr) when some errors
occur. 

On some platform (ex: Windows), those are set to the console by default,
so a console appears
when something is printed to stdout or stderr. 

A solution would be to redirect those (stdout, stderr) to a temporary
file for example.

I tried it once and it worked fine.

Thanks.

Mathieu


-- 
____________________________________________________________
Mathieu Coursolle                   mcoursolle at rogue-research.com
Rogue Research                      www.rogue-research.com 
Montréal, Québec, Canada


>Hi,
>
>How does one catch the vtk debugger window that sometimes pops up when
>an error occurs? I'd like to catch it 'gracefully' and die.
>
>Thanks,
>Mark
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/
>VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>






More information about the vtkusers mailing list