[Lazarus] RE : Migrating from Laz 0.9.30 (fixes_0_9_30) to Laz 0.9.31(trunk)

Marcos Douglas md at delfire.net
Mon Aug 8 16:57:03 CEST 2011


On Sun, Aug 7, 2011 at 7:06 AM, Martin <lazarus at mfriebe.de> wrote:
>
> On 07/08/2011 03:12, Marcos Douglas wrote:
>>
>> On Sat, Aug 6, 2011 at 2:37 PM, Martin<lazarus at mfriebe.de>  wrote:
>>>
>>> Compile you laz with debug -g -g- info, and either with -WC (console) or run
>>> with --debug-log=file
>>
>> Sorry to ask but these parameters are to the 'make' tool?
>
> AFAIK:
> make <target>  OPT="-g -gl -WC"
>
> I usually compile from within the IDE (tools menu).
> Anjd that for me always also recompiled the packages.
>
> That is assuming the packages are compatible with the new version. If a package does not work any longer then it can't be migrated, until the package is updated too (if available)
>
> --debug-log= is given to lazarus.exe when you start lazarus (use a windows shortcut, edit it's properties)
>
>>> then you may get a stacktrace.
>>>
>>> or run lazarus.new.exe, in the debugger, in lazarus itself.
>>
>> I never did this... can you explain, please?
>
> assuming you compiled lazarus with -g -gl (and maybe -gw) and you did NOT strip symbol info; and ideally you did NOT smart-link:
>
> - open the lazarus.lpi (from the ide directory)
> - use "run param" from run menu, to specify the new exe (and the correct -primary-config-path)
> - press F9
>
> move the windows of the debugged Lazarus, so you do not mix them with the old one....

I did not used these tips (yet) but I think something wrong in
"Lazarus Build menu command", trunk version.
I got the new sources of trunk; compiled with fixes_2_6 (2.5.1) with
sucess; open the IDE (using my pcp directory with my environment and
packages configurations) and clicked 'Install/Unistall packages' and
chose one package just to "refresh" the packages to show in component
bar; Save and Build button; the IDE reopened with sucess.

So, I tried to compile the IDE using Tools/Build (Clean Up + Build
All) and I got the same error (printscreen) for the first mail on this
thread.

So, I compiled Lazarus with lazbuild tool using the same PCP and...
everything worked.

Marcos Douglas




More information about the Lazarus mailing list