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

Re: gb.web.gui debugging


Le 01/02/2025 à 00:13, Bruce Steers a écrit :
I used to be able to set or unset the debugging option "use embedded http server".
if not selected it would just print the html code in the console.
Now i cannot seem to de-select it!

What do you mean by that exactly?

It's stuck ON with all projects like it's kinda pointless the option being there.
is that by design?

I can enable and disable the option. I don't understand what you mean.


Also wanted to mention when testing a web program using the embedded server there is no removal of the empty temp folder /tmp/gambas.1000/ <pid>  (is Quit being used?)

Maybe. I will check. Hard to tell without seeing your project.

By the way, the embedded http server is not really useful anymore for debugging a web application.

Now, you can set a breakpoint in the code of your web application and click on "Debug -> Debug extern process".

Then the IDE debugger will wake up when the first request handled by your program hits a breakpoint.

The executable of your CGI script run by your local web server must be synchronized with the source code opened by the IDE of course.

I hope I was clear!

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>
Re: gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>
References:
gb.web.gui debuggingBruce Steers <bsteers4@xxxxxxxxx>