[vtkusers] Compiling VTK 3.2 on RedHat 7.0

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Mar 9 09:47:58 EST 2001


hi,

>>>>> "Carlos" == Carlos Martinez Burgos <cmarbur at iti.upv.es> writes:

    Carlos> How can I debug the core if I run a tcl or java example?
    Carlos> I'm not compiling cxx examples.

I think you can just run gdb core.  You will get atleast some
messages.  With python it is easy to debug stuff on gdb.

$ cd /usr/share/doc/vtk/examples/graphics/examplesPython/

$ gdb python

(gdb) r
Starting program: /usr/bin/python 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Python 1.5.2 (#0, Apr  3 2000, 14:46:48)  [GCC 2.95.2 20000313 (Debian GNU/Linux)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
>>> execfile("Cone.py")

<if things crash you will see messages and can easily backtrace...>

I dont know about tcl though.

prabhu




More information about the vtkusers mailing list