[vtkusers] How to use vtkDebugMacro

normanius juch at zhaw.ch
Fri Apr 20 10:53:24 EDT 2018


Hi, Although this is a pretty old thread, I have a followup question on this
one.The debug messages are disabled by default. I thought that I can enable
output using the DebugOn() option. However, the following does not work for
me:I would expect to see a message "SphereSource Executing piece index xx of
yy pieces". (See  here
<https://github.com/Kitware/VTK/blob/c24799a287785046bdd82c3f9d165034d7ab9241/Filters/Sources/vtkSphereSource.cxx#L118> 
.)So how to enable the output on console? I am working in Python.Thanks for
any hints.Norman



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180420/51a5a655/attachment.html>


More information about the vtkusers mailing list