[lazarus] Display option problem..

Marc Weustink marc at dommelstein.net
Fri Aug 1 19:55:55 EDT 2003


At 23:24 1-8-2003 +0200, I wrote:
>At 16:17 1-8-2003 -0500, Jesus Reyes wrote:
>
>[snip]
>
>>It seems that when the Fdebugger creates the debugger process (the
>>first time the program is about to run) the environment (FEnviroment)
>>is empty (doRunProject->doInitProjectRun->doInitDebugger->
>>fDebugger:=TgdbMiDebuger.create [0]) and this value is used in the
>>CreateProcess call (deep into fDebugger.Init).
>>
>>After that the call
>>Project1.RunParameterOptions.AssignEnvironmentTo(FDebugger.Environment);
>>[1]
>>tries to update the environment but it only assign to
>>FDebugger.FEnviroment.
>>
>>It seems that this value (I can confirm that it is the wished
>>environment) is never propagated?
>
>Hmm... makes sense. I'll fix that.

Ok, I changed environment handling. Now the vars are directly passed to the 
debuggee environment. The debugger itself has it's own environment (you 
currently cant modify it)

Marc







More information about the Lazarus mailing list