[Insight-users] How to redirect debug output on Windows or cygwin?
Jarek Sacha
galicjan at yahoo . com
Mon, 24 Jun 2002 09:07:26 -0700 (PDT)
--- Luis Ibanez <luis.ibanez@kitware.com> wrote:
>
> Hi Jarek,
>
> You may want to try:
>
> itk::OutputWindow::SetInstance(itk::TextOutput::New().GetPointer());
>
> before sending any output.
Thanks it works well now.
By the way, it would be a good idea to move itkTextOutput.h from
Text/Code/Algorithms to Code/Algorithms and|or add TextOutput to doxygen
documentation. This will help those who look for it in the documentation.
Jarek
>
>
> This is used in the tests in: Insight/Testing/Code/Algorithms/
>
> itkCurvatureFlowTest.cxx
> itkFastMarchingTest.cxx
> itkImageRegistrationMethodTest_13.cxx
> itkImageRegistrationMethodTest_14.cxx
> itkImageRegistrationMethodTest.cxx
> itkMultiResolutionImageRegistrationMethodTest_1.cxx
> itkMultiResolutionImageRegistrationMethodTest_2.cxx
> itkMultiResolutionImageRegistrationMethodTest.cxx
> itkRegionGrow2DTest.cxx
>
>
> Regards,
>
>
> Luis
>
> ============================================
>
> Jarek Sacha wrote:
>
> > Is there a way to redirect debug output?
> > In particular, when running on Windows using either VC++ or cygwin,
> the
> > debug information is displayed in a separate window that disappears
> when
> > program exits. I would like to be able to simply print debug
> information
> > to standard output (that is the same way std::cout is printing). Is
> there
> > a way to reconfigure debug to do this?
> >
> > Thanks,
> >
> > Jarek
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >
> >
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com