Re: How to use gdb to debug pgadmin?

From: 韦春阳 <bessie2525(at)gmail(dot)com>
To: pg(at)kuhnsteffen(dot)de
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: How to use gdb to debug pgadmin?
Date: 2010-08-09 02:01:01
Message-ID: AANLkTi=7RsUnQJ0cY=FHBBi++e3P2PyJHpu4Jmxcy63G@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Steffen,
I have my wxWidgest compiled with debug, before the wxTheApp->OnRun(), I can
step into the function of the wxWidgest, but after that command, the gdb
can't work well with the programm.
Maybe there is another proccess set up and the old one is not active
anymore? But I can't find other processes.

So, I decided to build it in Visual Studio which I'm more
farmiliar with, and it can work well in the VS.

Bessie

2010/8/8 Steffen Kuhn <pg(at)kuhnsteffen(dot)de>

>
> Hi Bessi,
>
>
>
> do you have your wxWidgest compiled with debug?
>
> I'm also new to pdAdmin and on my ay to setup my pgAdmin development
> environment on my Ubuntu.
> As a friend of visiuaI IDEs I played around with Anjuta and got it even
> compiled, but not debugged.
>
> Regrads
> Steffen
>
> Am 08.08.2010 10:17, schrieb ΀ŽºÑô:
>
> Hi,
>> I'm a beginner, and I want to use gdb to debug pgadmin.
>> I make a break in the pgAdmin3::OnInit(), it can work well.
>> But when the main frame run, which is after wxTheApp->OnRun(), any
>> breakpoint and gdb can't work well.
>> Is there any advice about how to use gdb to debug pgadmin?
>> Thanks a lot !
>> Bessie
>>
>
>
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Steffen Kuhn 2010-08-09 07:23:53 sort of logfile combobox in server status window
Previous Message Steffen Kuhn 2010-08-08 11:42:59 Re: How to use gdb to debug pgadmin?