Recent

Author Topic: Lazarus IDE Bug  (Read 2360 times)

FezaCakir

  • New member
  • *
  • Posts: 8
Lazarus IDE Bug
« on: April 01, 2019, 09:22:47 pm »
n ö
Bir projemde 108 tane form var. Hepsini birden açmaya çalıştığımda IDE döngüye giriyor; aynı formları tekrar tekrar açmaya çalışıyor..
Herhangi bir önerisi olan var mı?

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus IDE Bug
« Reply #1 on: April 01, 2019, 10:18:00 pm »
English please?

Bart

tetrastes

  • Sr. Member
  • ****
  • Posts: 481
Re: Lazarus IDE Bug
« Reply #2 on: April 01, 2019, 10:25:13 pm »
По-английски? Да любой программер понимает турецкий!

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus IDE Bug
« Reply #3 on: April 01, 2019, 10:36:12 pm »
Google translate makes this of it:

Quote
I have 108 forms in a project. When I try to open it all, the IDE is looping; trying to open the same forms over and over.
Do you have any suggestions?

Bart

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Lazarus IDE Bug
« Reply #4 on: April 01, 2019, 10:37:40 pm »
Google translate makes this of it:

Quote
I have 108 forms in a project. When I try to open it all, the IDE is looping; trying to open the same forms over and over.
Do you have any suggestions?

Bart


Thanks, Bart

108 forms seems plenty!  :)

How much RAM is involved?   That might also play a role here.
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Lazarus IDE Bug
« Reply #5 on: April 01, 2019, 10:47:06 pm »
I have 108 forms in a project. When I try to open it all, the IDE is looping; trying to open the same forms over and over. Do you have any suggestions?

Check your project's ".LPI" file by hand (with a regular text editor). With so many forms it's possible that something has gone awry in it.

Русский: Проверьте файл .LPI вашего проекта вручную (с помощью обычного текстового редактора). С таким количеством форм, возможно, что-то пошло не так.

Türkçe: Projenizin ".LPI" dosyasını elle kontrol ediniz (normal bir metin editörü ile). Bu kadar çok formla, içinde bir şeylerin ters gitmesi mümkündür.
« Last Edit: April 01, 2019, 11:14:38 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

tetrastes

  • Sr. Member
  • ****
  • Posts: 481
Re: Lazarus IDE Bug
« Reply #6 on: April 01, 2019, 10:52:58 pm »
@ lucamar
Спасибо!
But you have to translate your answer in turkish ;)

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Lazarus IDE Bug
« Reply #7 on: April 01, 2019, 11:13:39 pm »
@ lucamar
Спасибо!
But you have to translate your answer in turkish ;)

Done: trilingual now. You managed to confound me :)
Next time I'll answer in Spanish ;)
« Last Edit: April 01, 2019, 11:15:30 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

tetrastes

  • Sr. Member
  • ****
  • Posts: 481
Re: Lazarus IDE Bug
« Reply #8 on: April 01, 2019, 11:46:40 pm »

You managed to confound me :)


Mea culpa!

Zvoni

  • Hero Member
  • *****
  • Posts: 2327
Re: Lazarus IDE Bug
« Reply #9 on: April 02, 2019, 12:28:26 pm »
@ lucamar
Спасибо!
But you have to translate your answer in turkish ;)

Done: trilingual now. You managed to confound me :)
Next time I'll answer in Spanish ;)
I'm dissapointed.
I would have expected at least an answer in klingon!  8-)
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: Lazarus IDE Bug
« Reply #10 on: April 02, 2019, 01:36:59 pm »
n ö
Bir projemde 108 tane form var. Hepsini birden açmaya çalıştığımda IDE döngüye giriyor; aynı formları tekrar tekrar açmaya çalışıyor..
Herhangi bir önerisi olan var mı?

In Turkish:

Projeyi ek olarak buraya veya bir paylaşım sitesine yükleyebilir misiniz?
Ayrıca kullandığınız lazarus ve fpc versiyonları nelerdir?

Belki formları dinamik olarak runtime sırasında oluşturmanız daha verimli olabilir.

In English:

Could you please upload as attach or some sharing site?
Also which version of lazarus and fpc do you using ?

Maybe , to create your forms on runtime dynamically could be more effective
« Last Edit: April 02, 2019, 01:41:58 pm by tr_escape »

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: Lazarus IDE Bug
« Reply #11 on: April 02, 2019, 02:08:02 pm »
In Turkish:

Yeni bir proje oluşturdum, 108 adet boş form ekledim ve şu aşağıdaki değişiklikleri yaptım.
Herhangi bir problem ile karşılaşmadım tabi kullandığım PC nin 8GB ram i olması ve formların boş olması da bir etken.

In English:

I prepared a new project with 108 forms and added below codes.
I couldn't find any problems ofcourse my pc is 8GB ram and my forms are empty.


Code: Pascal  [Select][+][-]
  1.  
  2. unit Unit1;
  3.  
  4. {$mode objfpc}{$H+}
  5.  
  6. interface
  7.  
  8. uses
  9.   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,
  10.  
  11.   Unit2, Unit3, Unit4, Unit5, Unit6, Unit7, Unit8, Unit9, Unit10,
  12.   Unit11, Unit12, Unit13, Unit14, Unit15, Unit16, Unit17, Unit18, Unit19,
  13.   Unit20, Unit21, Unit22, Unit23, Unit24, Unit25, Unit26, Unit27, Unit28,
  14.   Unit29, Unit30, Unit31, Unit32, Unit33, Unit34, Unit35, Unit36, Unit37,
  15.   Unit38, Unit39, Unit40, Unit41, Unit42, Unit43, Unit44, Unit45, Unit46,
  16.   Unit47, Unit48, Unit49, Unit50, Unit51, Unit52, Unit53, Unit54, Unit55,
  17.   Unit56, Unit57, Unit58, Unit59, Unit60, Unit61, Unit62, Unit63, Unit64,
  18.   Unit65, Unit66, Unit67, Unit68, Unit69, Unit70, Unit71, Unit72, Unit73,
  19.   Unit74, Unit75, Unit76, Unit77, Unit78, Unit79, Unit80, Unit81, Unit82,
  20.   Unit83, Unit84, Unit85, Unit86, Unit87, Unit88, Unit89, Unit90, Unit91,
  21.   Unit92, Unit93, Unit94, Unit95, Unit96, Unit97, Unit98, Unit99, Unit100,
  22.   Unit101, Unit102, Unit103, Unit104, Unit105, Unit106, Unit107, Unit108
  23.  
  24.   ;
  25.  
  26. type
  27.  
  28.   { TForm1 }
  29.  
  30.   TForm1 = class(TForm)
  31.     Button1: TButton;
  32.     Edit1: TEdit;
  33.     procedure Button1Click(Sender: TObject);
  34.   private
  35.  
  36.   public
  37.  
  38.   end;
  39.  
  40. var
  41.   Form1: TForm1;
  42.  
  43. implementation
  44.  
  45. {$R *.lfm}
  46.  
  47. { TForm1 }
  48.  
  49. procedure TForm1.Button1Click(Sender: TObject);
  50. var
  51.   objs:String;
  52.   objf:TComponent;
  53. begin
  54.   objs:='Form'+Edit1.Text;
  55.   objf:=FindGlobalComponent(objs);
  56.   if objf<>nil then
  57.     TForm(objf).Show;
  58. end;
  59.  
  60. end.
  61.  
  62.  

 

TinyPortal © 2005-2018