[Paraview] Debugging PV: Where is the source code? Setting breaks
in GDB?
Berk Geveci
berk.geveci at gmail.com
Mon Jul 3 15:19:18 EDT 2006
That's weird. That's where the source code is. Is it possible that you are
getting shared library from somewhere other than the build tree? Try an ldd
on the executable? Are you installing with make install and running? If you
didn't install after building the second time, you may see the behaviour you
are running into. I would expect breakpoints to still work though. My main
platform is Linux and I debug with gdb daily. I never run into any problems.
Also, if you have a non-classified data that demonstrates the problem, we
can take a look at it. I am guessing it is something simple.
-Berk
On 7/3/06, Peter J. Bismuti <pjb9508 at vashon.ca.boeing.com> wrote:
>
> I'm trying to debug PV, and one of the problems I'm having is that I don't
> know where the actual source is. The error message here points me to a
> file:
>
> /acct/pjb9508/VTK/paraview-2.4.3/VTK/IO/vtkEnSight6BinaryReader.cxx
>
> but this does not seem to be the actual source code. Strangely, when I
> alter
> this file it triggers make to recompile, but the changes are not taking
> effect. For example, I cannot alter the text at line 222:
>
> "Invalid number of unstructured points"
>
> Also, I cannot seem to set breakpoints in GDB using this file path.
>
> Can anyone explain to me what is going on? Thanks.
>
>
> # Error or warning: There was a VTK Error in
> file: /acct/pjb9508/VTK/paraview-2.4.3/VTK/IO/vtkEnSight6BinaryReader.cxx
> (222)
> vtkEnSight6BinaryReader (0x1e7f600): Invalid number of unstructured
> points;
> check that ByteOrder is set correctly.
> ErrorMessage end
> ErrorMessage
> # Error or warning: There was a VTK Error in
> file: /acct/pjb9508/VTK/paraview-2.4.3/VTK/IO/vtkEnSightReader.cxx (270)
> vtkEnSight6BinaryReader (0x1e7f600): error reading geometry file
> ErrorMessage end
> ErrorMessage
> # Error or warning: There was a VTK Error in
> file: /acct/pjb9508/VTK/paraview-2.4.3/VTK/Filtering/vtkExecutive.cxx
> (688)
> vtkCompositeDataPipeline (0x1e7ec10): Algorithm
> vtkEnSight6BinaryReader(0x1e7f600) returned failure for request:
> vtkInformation (0x1e7d750)
> Debug: Off
> Modified Time: 101813
> Reference Count: 1
> Registered Events: (none)
> Request: REQUEST_DATA
> FORWARD_DIRECTION: 0
> KEYS_TO_COPY: UPDATE_BLOCKS
> FROM_OUTPUT_PORT: 0
> ALGORITHM_AFTER_FORWARD: 1
> ErrorMessage end
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060703/79b4aa20/attachment.html
More information about the ParaView
mailing list