[Gambas-devel] Out of the frying pan ...

Benoit Minisini gambas at ...1...
Wed Jan 28 01:22:38 CET 2009


On mardi 27 janvier 2009, Gareth Bult wrote:
> Doh!
>
> Ok, found the problem .. my fault .. however .. feature request;
>
> Can we add a test to the start debug routines to check that the debug
> session actually starts ?
>
> Scenario;
>
> a. Inadvertently add GB.UI=qt to your preferences -> environment for a
> project b. Start debug
> c. Execution of gbx3 immediately quits because "GB.UI=qt" is attempted and
> found to be invalid d. IDE continues then blocks becuase the debug process
> / session is now defunct e. Only solution is to kill the IDE
>
> I think pretty much anything "invalid" entered into the environment section
> of a project can cause this issue ...
>
> :(
>
> Gareth.
>

Thanks for having identified the problem. I fixed it in the last revisions 
(#1825 & #1826).

Now, instead of a freeze, the IDE will just warn that the shell runnning the 
debugged process has returned a value, and you will see its error message in 
the console.

In the future, I will directly check that environmental variable names are 
syntactically correct.

Regards,

-- 
Benoit Minisini




More information about the Devel mailing list