[Paraview] Debugger for Paraview 2.4
Moreland, Kenneth
kmorel at sandia.gov
Wed Apr 18 13:36:58 EDT 2007
I almost always compile ParaView with shared libs and often load ParaView in a debugger. I've never had a problem with seeing the debug information in the shared objects. I've done this on several systems (Linux, Mac, and Windows) and with several different types of debuggers (gdb, idb, TotalView, MSVC).
Could it be possible you are connecting to the wrong shared libraries? That's not likely unless you have turned of rpath in CMake, but I would check with ldd nevertheless.
Could it be possible you are looking for symbols with your debugger before the shared libraries are loaded? Try letting ParaView run to where it waits for user input and then break and check again.
-Ken
> -----Original Message-----
> From: paraview-bounces+kmorel=sandia.gov at paraview.org [mailto:paraview-
> bounces+kmorel=sandia.gov at paraview.org] On Behalf Of Vinicius Pessôa
> Sent: Wednesday, April 18, 2007 11:27 AM
> To: paraview at paraview.org
> Subject: [Paraview] Debugger for Paraview 2.4
>
> Hi everybody
>
> When Paraview 2.4 is compiled with Shared Libs OFF, it stores all the
> debug information and gdb works perfectly. But when I try to import my XML
> packages, Paraview looks for .SO libraries, but only .A was created.
>
> So, it seems that we MUST use Shared Libs ON on Paraview so we can import
> our packages. When I build it with dynamic libraries, and import my XML
> packages, it works. The problem is that when I build it with dynamic
> libraries, it doesn't stores any debug information (yes, I'm filling the
> CMAKE_BUILD_TYPE field with the string "Debug" in both cases).
>
> So, does any one have any idea of how can I build it with shared libs on
> and still have the debugger working? Or even, if it's possible to make
> Paraview to point to my .A libraries (static) and perform the load of my
> XML modules?
>
> Please, any ideas are welcome.
>
> Thank's to all for your time.
>
> [ ]'s
> ________________________________________
> Atenciosamente,
> Vinicius Pessôa
> Analista de Sistemas
> Laboratório Nacional de Computação Científica
> +55 (24) 2242-9498
> +55 (24) 8803-7061
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list