Recent

Author Topic: Lazarus IDE Bug  (Read 697 times)

FezaCakir

  • New member
  • *
  • Posts: 7
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: 3452
    • Bart en Mariska's Webstek
Re: Lazarus IDE Bug
« Reply #1 on: April 01, 2019, 10:18:00 pm »
English please?

Bart

tetrastes

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

Bart

  • Hero Member
  • *****
  • Posts: 3452
    • 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

  • Full Member
  • ***
  • Posts: 226
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
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.0.3 r61485 / FPC v3.2.0-beta-r42306 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 1903 (Build 18362.116)
Other Systems: Windows 10 Pro x64, Version 1809 or greater

lucamar

  • Hero Member
  • *****
  • Posts: 1808
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 1.8.4 & 2.0.2 w/FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

tetrastes

  • New member
  • *
  • Posts: 32
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: 1808
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 1.8.4 & 2.0.2 w/FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

tetrastes

  • New member
  • *
  • Posts: 32
Re: Lazarus IDE Bug
« Reply #8 on: April 01, 2019, 11:46:40 pm »

You managed to confound me :)


Mea culpa!

Zvoni

  • Full Member
  • ***
  • Posts: 198
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 IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircrafts

tr_escape

  • Sr. Member
  • ****
  • Posts: 378
  • 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: 378
  • 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.