Re: How to use gdb to debug pgadmin? - Mailing list pgadmin-hackers

From 韦春阳
Subject Re: How to use gdb to debug pgadmin?
Date
Msg-id AANLkTi=7RsUnQJ0cY=FHBBi++e3P2PyJHpu4Jmxcy63G@mail.gmail.com
Whole thread Raw
In response to Re: How to use gdb to debug pgadmin?  (Steffen Kuhn <pg@kuhnsteffen.de>)
List 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@kuhnsteffen.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



pgadmin-hackers by date:

Previous
From: Steffen Kuhn
Date:
Subject: Re: How to use gdb to debug pgadmin?
Next
From: "Steffen Kuhn"
Date:
Subject: sort of logfile combobox in server status window