[lazarus] Display option problem..

Marc Weustink marc at dommelstein.net
Sat Aug 2 12:42:11 EDT 2003

At 12:00 2-8-2003 -0500, Jesus Reyes wrote:

>Hi Marc, I've found some problems:
>Environment constructs like this:
>mc=() {  mkdir -p $HOME/.mc/tmp 2>/dev/null;
>  chmod 700 $HOME/.mc/tmp;
>  MC=$HOME/.mc/tmp/mc-$$;
>  /usr/bin/mc -P "$@" >"$MC";
>  cd "`cat $MC`";
>  rm -i -f "$MC";
>  unset MC
>confuse the debugger, here is the output mixed with other valid ones:

Hmmm.. have to check this.

>another problem: If I put a check mark to the Display option, the
>following code executes:
>322     procedure TRunParamsOptions.AssignEnvironmentTo(Strings:
>323     begin
>324       IDEProcs.AssignEnvironmentTo(Strings,UserOverrides);
>325       if UseDisplay then
>326         Strings.Values['DISPLAY']:=Display;
>327     end;
>the problem is in the line 326: TApplication.HandleException
>Operation not allowed on sorted StringLists.

Ah, I already fixed that one, but only committed the debugger sources.
It's in CVS now

>Ooops, the debugger entered the error state
>but I dont know if it is related.

Yep, it is.

>One question: why is the debug
>process running between application runs?.

Why not ?

The idea was that firing up gdb once would gain some time .


More information about the Lazarus mailing list