Re: Debugger integration - Mailing list pgadmin-hackers

From Hiroshi Saito
Subject Re: Debugger integration
Date
Msg-id 012e01c772e2$62e15b60$0c01a8c0@yourc3ftrhkaod
Whole thread Raw
In response to Debugger integration  (Dave Page <dpage@postgresql.org>)
Responses Re: Debugger integration
List pgadmin-hackers
From: "Florian G. Pflug" <fgp@phlo.org>
> Dave Page wrote:
>> Hi all,
>>
>> So far, the code has been modified mainly to get rid of it's use of MDI
>> windows, and to use wxAUI instead, and to integrate it into the pgAdmin
>> build system.
> Cool.

:-)

>
>> Having tried it on OS X, I find we have a problem. On that platform,
>> executables are distributed inside 'appbundles' [1] which include
>> resources without which applications cannot be used (they start, but
>> cannot gain focus). What I didn't realise though, was that there doesn't
>> seem to be a way to include the resources for two executables in the
>> same appbundle.
>
>> Another option is to build a second appbundle for the debugger, however
>> we would want this to be included within the pgAdmin appbundle, not
>> externally. I cannot see from the docs if this is actually possible.
>> Anyone know?
> I believe that this is possible - I'll have to check, but I can vaguely
> remember that I already saw applications in the wild that did exactly
> this. Actually, it might be as easy as just putting a normal appbundle
> into the Ressources folder.

Oh, Sound good to me!

>
>> The final option (which I am currently favouring) would be to move the
>> debugger code into pgAdmin itself, rather than keeping it as a separate
>> application. This has the disadvantage that the architecture if the
>> debugger is quite different from pgAdmin, so whilst it could work, it
>> will always seem a little odd unless largely rewritten.
> Sounds like the most elegant option - do you think this will happen
> before 1.8, or should we pursue the appbundle-inside-appbundle idea
> for 1.8

Umm, There may also be structure which debugger is connected with PostgreSQL
by itself and waits for a response, and it may not be desirable on a constitution.
The call from pgAdmin3 uses one stream of them. Probably, it may be hard to
understand an operation of a users.

Regards,
Hiroshi Saito


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Debugger integration
Next
From: Dave Page
Date:
Subject: Re: Debugger integration