Recent

Author Topic: Lazarus Release Candidate 2 of 3.0  (Read 61678 times)

d7_2_laz

  • Hero Member
  • *****
  • Posts: 512
Re: Lazarus Release Candidate 2 of 3.0
« Reply #15 on: October 16, 2023, 06:47:20 pm »
@Martin_fr
Quote
Rebuild the IDE  ... Options
Thanks for the info! Two log files attached (the second one is for: app had been already compiled; start the IDE, simply do "Start" with nothing to compile)

Quote
Project files:
will send now (attention: there's still an old dpr file in play, coming from a former Delphi conversion)

Quote
Menu View > Ide Internals > About IDE
Attached as about_IDE.txt

Lazarus 3.2  FPC 3.2.2 Win10 64bit

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10231
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 3.0
« Reply #16 on: October 16, 2023, 06:57:04 pm »
OK, so the answer is simple: It is all working.

The process is started in the debugger, it even loads some libraries (you should be able to see that in the event log, if you enable "modules"), and then the process exits. (probably before it ever opens a window or anything)
=> That means the lpi/lps are no longer needed.

It is not raising any exception or run-error. I don't know if it returns an error code (exit code <> 0). That should be shown in the event log (or, if not disabled) pop up a dialog).
« Last Edit: October 16, 2023, 06:59:32 pm by Martin_fr »

d7_2_laz

  • Hero Member
  • *****
  • Posts: 512
Re: Lazarus Release Candidate 2 of 3.0
« Reply #17 on: October 16, 2023, 07:40:57 pm »
Yes, there's no indication of any kind of problem ... except that the generated app won't start in the IDE by some reason.
So let's take this besides, but i found it remarkable enough to report it here, for the case there might be similar findings by others.
Lazarus 3.2  FPC 3.2.2 Win10 64bit

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10231
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 3.0
« Reply #18 on: October 16, 2023, 07:48:03 pm »
Yes, there's no indication of any kind of problem ... except that the generated app won't start in the IDE by some reason.
So let's take this besides, but i found it remarkable enough to report it here, for the case there might be similar findings by others.
To be correct, it does start, it just exits before doing anything noticeable.

That means the problem may be in the App. Or it could be in a library that is loaded, and does not like to be inside a debugger, and forces the app to quit.

Check the event log (view > debug windows). Make sure to go to its options, and enable all the different events that can be reported.

1) Is there an exit code (other than 0), when the app exits?
2) Is there anything special about the last library loaded?

d7_2_laz

  • Hero Member
  • *****
  • Posts: 512
Re: Lazarus Release Candidate 2 of 3.0
« Reply #19 on: October 16, 2023, 08:17:11 pm »
Quote
the problem may be in the App
But then this must be discovered specifically by  RC2 vs. RC1  .... i suspect i located the culprit, but need a bit time tomorrow to track down..
Lazarus 3.2  FPC 3.2.2 Win10 64bit

d7_2_laz

  • Hero Member
  • *****
  • Posts: 512
Re: Lazarus Release Candidate 2 of 3.0
« Reply #20 on: October 17, 2023, 09:56:58 am »
@Martin_fr
Quote
it does start, it just exits before doing anything noticeable

OMG, mea culpa! The worst self-made traps are ages old workarounds in which one never looks into or set breakpoints here later.
Here, in the dpr file, which tried to mimic roughly the old, not more applicable Delphi-like "FindWindow('TAppBuilder',..), searching for a class name for to detect if the IDE is running, by parsing the starting particle of GetWindowText aka Caption.
But upfrom RC2 the structure of the window title seems to have change slightly and so the wrong logical branch was entered. I just need to apologize.  (Later on this workaround had not used any longer).
Lazarus 3.2  FPC 3.2.2 Win10 64bit

pleumann

  • Jr. Member
  • **
  • Posts: 94
Re: Lazarus Release Candidate 2 of 3.0
« Reply #21 on: October 17, 2023, 10:22:30 am »
It seems the MacOS package is x86_64-only and will have to run through Rosetta on an Arm processor. If you're interested in a native arm64 build, let me know.

DreamVB

  • Full Member
  • ***
  • Posts: 100
    • Memo Pad
Re: Lazarus Release Candidate 2 of 3.0
« Reply #22 on: October 17, 2023, 05:39:26 pm »
Thanks guys for all the hard work you put into this project.
Dream Believe Achieve

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10231
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 3.0
« Reply #23 on: October 17, 2023, 07:35:04 pm »
Google "gtk debug freeze" and there is plenty to read.

Just some stuff I found (not verified/tested...)

- run the debugged app with --sync
- use a 2nd xserver with xnest

big_M

  • Jr. Member
  • **
  • Posts: 95
Re: Lazarus Release Candidate 2 of 3.0
« Reply #24 on: October 17, 2023, 09:04:14 pm »
@Martin, wrong thread ;)

dsiders

  • Hero Member
  • *****
  • Posts: 1206
Re: Lazarus Release Candidate 2 of 3.0
« Reply #25 on: October 18, 2023, 04:48:34 am »
Lazarus 3.0RC2 documentation available on SourceForge

HTML documentation hosted at https://lazarus-ccr.sourceforge.io/docs/ has been updated to Lazarus 3.0RC2.
FPC documentation is at the latest stable release from 2021-05-14.

Please report issues to the respective projects at:

Lazarus
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues

FPC Docs
https://gitlab.com/freepascal.org/fpc/documentation/-/issues
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

bobihot

  • New Member
  • *
  • Posts: 36
Re: Lazarus Release Candidate 2 of 3.0
« Reply #26 on: October 18, 2023, 07:48:34 am »
Thanks Sirs,
I have the same issue under Linux - do not found FPC 3.2.2 after installed 3.3.1, instead of Linux reported that coexist?
Under Windows I yet has not like this problem.

dbannon

  • Hero Member
  • *****
  • Posts: 2993
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 3.0
« Reply #27 on: October 18, 2023, 01:35:03 pm »
Built from source on Linux.
Builds my app, 25K lines, without issue as 64bit (gtk2 and Qt5) and cross compiles to Windows (32bit and 64bit), Arm and Linux 32bit.
Looks good folks !
Thanks

Davo
« Last Edit: October 18, 2023, 01:36:50 pm by dbannon »
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

ShaunRoselt

  • Newbie
  • Posts: 1
Re: Lazarus Release Candidate 2 of 3.0
« Reply #28 on: October 22, 2023, 08:49:32 pm »
Any chance we can get the Lazarus IDE released onto Valve's Steam store? 🙏🏻

Would be great if I could launch Lazarus through Steam and see on my profile how many hours I've spent coding on Lazarus.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4508
  • I like bugs.
Re: Lazarus Release Candidate 2 of 3.0
« Reply #29 on: October 22, 2023, 10:31:20 pm »
Any chance we can get the Lazarus IDE released onto Valve's Steam store? 🙏🏻
What is the criteria to be accepted in Valve's Steam store?
Lazarus project does not provide installer packages for various distros. It is the responsibility of distro maintainers.
However I don't know details of Valve's Steam store. Maybe someone will volunteer to create such packages.
« Last Edit: October 22, 2023, 10:42:35 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018