[Paraview] debugging the filter with gdb

Berk Geveci berk.geveci at kitware.com
Thu Sep 18 10:44:20 EDT 2008


You may want to read a tutorial on using gdb. 'c' is a gdb command
that stands for continue.

-berk

On Thu, Sep 18, 2008 at 10:25 AM, Natalie Happenhofer
<nataliehapp at hotmail.com> wrote:
> Where should that "c" be typed in?
> I (started my cygwin) and typed "gdb paraview"
> then it wrote a few lines about gdb and then I typed
> "run" . :-)
> where should I type "c"?
> Natalie
>
>> Date: Thu, 18 Sep 2008 10:11:53 -0400
>> From: berk.geveci at kitware.com
>> To: nataliehapp at hotmail.com
>> Subject: Re: [Paraview] debugging the filter with gdb
>> CC: paraview at paraview.org
>>
>> Did you just try 'c' from gdb? Gdb will catch signals that are not
>> fatal and can safely continue most of the time. I believe there is a
>> way to tell gdb to ignore some signals as well.
>>
>> -berk
>>
>> On Thu, Sep 18, 2008 at 10:00 AM, Natalie Happenhofer
>> <nataliehapp at hotmail.com> wrote:
>> > Well, I start Paraview in gdb, go to the "tool" button in the paraview
>> > menu,
>> > I go to "Manage Plugins" and then I select the corresponding .dll for my
>> > plugin. I click ok, and then paraview stops.
>> > gdb says
>> > "Program received signal SIGTRAP, Trace/breakpoint trap.
>> > 0x7c911231 in ntdll!DbgViConnectToDbg()"
>> >
>> > Is there any option in gdb to set that this does not happen?
>> > NH
>> >
>> >> Date: Thu, 18 Sep 2008 09:36:52 -0400
>> >> From: berk.geveci at kitware.com
>> >> To: nataliehapp at hotmail.com
>> >> Subject: Re: [Paraview] debugging the filter with gdb
>> >> CC: paraview at paraview.org
>> >>
>> >> What do you mean by "it does not work"?
>> >>
>> >> -berk
>> >>
>> >> On Thu, Sep 18, 2008 at 9:24 AM, Natalie Happenhofer
>> >> <nataliehapp at hotmail.com> wrote:
>> >> > Hi!
>> >> > I´ve successfully loaded my plugin into paraview and it works fine,
>> >> > but
>> >> > when
>> >> > I try to debug the plugin, i.e. I start paraview in gdb and try to
>> >> > load
>> >> > the
>> >> > plugin, it does not work - what can I do? I need to debug this
>> >> > plugin,
>> >> > it
>> >> > still does not work correctly (i.e everytime I apply the plugin
>> >> > paraview
>> >> > shuts down), what can I do?
>> >> >
>> >> > thx,
>> >> > NH
>> >> >
>> >> > ________________________________
>> >> > Express yourself instantly with MSN Messenger! MSN Messenger
>> >> > _______________________________________________
>> >> > ParaView mailing list
>> >> > ParaView at paraview.org
>> >> > http://www.paraview.org/mailman/listinfo/paraview
>> >> >
>> >> >
>> >
>> > ________________________________
>> > Express yourself instantly with MSN Messenger! MSN Messenger
>> > _______________________________________________
>> > ParaView mailing list
>> > ParaView at paraview.org
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
> ________________________________
> Express yourself instantly with MSN Messenger! MSN Messenger


More information about the ParaView mailing list