[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gb.web.gui debugging


Le 01/02/2025 à 14:38, Bruce Steers a écrit :


On Sat, 1 Feb 2025 at 13:06, Bruce Steers <bsteers4@xxxxxxxxx <mailto:bsteers4@xxxxxxxxx>> wrote:

    So I guess it's line 67 of FDebugConfig.class

    btnUseHttpServer.Enabled = Not Project.Components.Exist("gb.web.gui")

    So that'll be what I'm talking about.
    clearly by design if gb.web.gui is loaded enabling/disabling
    embedded server is not possible.
    Can't say I ever noticed it stuck on before.


I just have to add i do not really like this restriction.
I still want the option to use embedded server to test run. (especially when just working on UI look/layout)

I commented out line 67 of FDebugConfig.class and now it behaves as i remember, embedded server or print html to console. That test program i sent in the previous reply works fine in the embedded server. (but i don't use breakpoints)

I understand what you mean by being able to correctly debug through the source with breakpoints requires a specific method but i'd still also like the option to just test run without breakpoints with the embedded server or print the html to console for inspection,

If it's possible? :)

Respects and thanks
BruceS


The "Use HTTP server" toggle button is not disabled anymore in the last commit.

But it is still forced to TRUE when the project is opened and the 'gb.web.gui' component is used.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>
References:
gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>
Re: gb.web.gui debuggingBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>
Re: gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>
Re: gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>