Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-04

lazarus editor problems

23 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

Dear all,
I have some problems with last lazarus svn. With last svn version I am not able to see some of my project's units.
The editor shows an empty tab for such units. But I am not able to understand why. I can see some units but not all of them. Lazarus works fine with this svn:
v0.9.25 r14888 i386-win32-win32/win64

But not with this:
v0.9.25 r14915 i386-win32-win32/win64

(FPC 2.2)

Any help?
Andrea

Andrea Mauri
to Mattias Gärtner

Sorry Mattias, I would like to help but:
- how can I check my codepage?
- I updated my svn to 14912, how can I compile with -dVerboseIDEEncoding? Can I compile lazarus using lazarus Build tool or I have to compile by dos windows, how?
- once compiled using -dVerboseIDEEncoding I have to open lazarus and reproduce the bug, which concole output I have to send you?

Regards,
Andrea

Mattias G?rtner ha scritto:

Show quoted text 38 lines
Zitat von Andrea Mauri : > Dear all, > I have some problems with last lazarus svn. With last svn version I am > not able to see some of my project's units. > The editor shows an empty tab for such units. But I am not able to > understand why. I can see some units but not all of them. > Lazarus works fine with this svn: > v0.9.25 r14888 i386-win32-win32/win64 > > But not with this: > v0.9.25 r14915 i386-win32-win32/win64 > > (FPC 2.2) > > Any help? > You can help me to fix the bug. See here: http://bugs.freepascal.org/view.php?id=11177 What is your windows codepage? Please compile svn 14912 with -dVerboseIDEEncoding, reproduce the bug and send the console output and one of the "empty" files. Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Andrea Mauri
to Andrea Mauri

Ok, I compiled lazarus svn 14912 with -dVerboseIDEEncoding option. Checking my source files in lazarus I noticed that the files I can see have UTF-8 encoding, while the files I cannot see have ansi encoding. I attached one of the file I am not able to see.
Regards,
Andrea

Andrea Mauri ha scritto:

Show quoted text 61 lines
Sorry Mattias, I would like to help but: - how can I check my codepage? - I updated my svn to 14912, how can I compile with -dVerboseIDEEncoding? Can I compile lazarus using lazarus Build tool or I have to compile by dos windows, how? - once compiled using -dVerboseIDEEncoding I have to open lazarus and reproduce the bug, which concole output I have to send you? Regards, Andrea Mattias G?rtner ha scritto: > Zitat von Andrea Mauri : > > > >> Dear all, >> I have some problems with last lazarus svn. With last svn version I am >> not able to see some of my project's units. >> The editor shows an empty tab for such units. But I am not able to >> understand why. I can see some units but not all of them. >> Lazarus works fine with this svn: >> v0.9.25 r14888 i386-win32-win32/win64 >> >> But not with this: >> v0.9.25 r14915 i386-win32-win32/win64 >> >> (FPC 2.2) >> >> Any help? >> >> > You can help me to fix the bug. > > See here: > http://bugs.freepascal.org/view.php?id=11177 > > What is your windows codepage? > > Please compile svn 14912 with -dVerboseIDEEncoding, reproduce the bug and send > the console output and one of the "empty" files. > > > Mattias > > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed... Name: am_basic_types.pas
Url: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080421/458be5ca/attachment-0001.pl

Andrea Mauri
to Mattias Gärtner
This means, the codepage was not correctly recognized by the IDE. What is your codepage? Can you send me the console output of the IDE?

How can I check my codepage?
Which console output? How can I obtain it?

I _think_ I fixed the default under windows, so at least the files should not be shown empty. I have no real windows to test at the moment.

I will check it.
andrea

Show quoted text 8 lines
Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Giulio Bernardi
to Andrea Mauri

Andrea Mauri ha scritto:

How can I check my codepage?

type
mode con cp
in a command prompt

Which console output? How can I obtain it?

recompile lazarus with -WC option

Andrea Mauri
to Giulio Bernardi: Andrea Mauri ha scritto: type mode con cp in a command prompt recompile lazarus with -WC…
Show quoted text 5 lines
type mode con cp in a command prompt

I obtained
850

Show quoted text 5 lines
> Which console output? How can I obtain it? > recompile lazarus with -WC option

I obtained:

TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
NOTE: help options config file not found - using defaults TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
[TCustomFormEditor.CreateComponent] Class='TForm'
TMainIDE.DoNewEditorFile end unit1.pas
TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Console\dragonX.lpr 456 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 654 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 4865 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 4872 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 4895 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Console\dragonX.lpr 401 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 13027 TManagedBreakPoints.NotifyAdd A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 11424 *TMainIDE.OnCodeBufferDecodeLoaded
Filename=E:\lazarus_projects\dragonX\dragonX\Src\am_basic_types.pas Disk=ansi to Mem=utf8
### TCodeToolManager.HandleException: "non ? stato trovato nessun codice pascal (il primo token ? )" in
"E:\lazarus_projects\dragonX\dragonX\Src\am_basic_types.pas"* LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 11424 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 13027 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Console\dragonX.lpr 401 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 4895 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 4872 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 4865 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Src\dragon_unit.pas 654 False TManagedBreakPoints.NotifyRemove A
E:\lazarus_projects\dragonX\dragonX\Console\dragonX.lpr 456 False [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END
TLazarusManager.Run starting C:\Programmi\Lazarus\lazarus.exe ...

Show quoted text 6 lines
_______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080421/25f10735/attachment.html

Andrea Mauri
to Vincent Snijders: Start lazarus (debug) from the start menu. Send the log file in the lazarus directory.…

I think the problem is related to the previuos one. Now I can see my files in laz ide but, when I run my project the execution stops many times at some invisible breakpoints. The execution stops like when encounter a breakpoint, but no breakpoints are visible in the ide, I tried to add and remove the breakpoints, without results. This seems to happen only in file where the encoding is not recognized by lazarus.
Regards,
Andrea

Vincent Snijders ha scritto:

Show quoted text 22 lines
Andrea Mauri schreef: >> This means, the codepage was not correctly recognized by the IDE. >> What is your codepage? Can you send me the console output of the IDE? >> >> >> > How can I check my codepage? > Which console output? How can I obtain it? > > Start lazarus (debug) from the start menu. Send the log file in the lazarus directory. Vincent _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

/

Mattias Gaertner
to Andrea Mauri
Show quoted text 7 lines
I think the problem is related to the previuos one. Now I can see my files in laz ide but, when I run my project the execution stops many times at some invisible breakpoints. The execution stops like when encounter a breakpoint, but no breakpoints are visible in the ide, I tried to add and remove the breakpoints, without results. This seems to happen only in file where the encoding is not recognized by lazarus.

I can't reproduce this. And I have no idea, how encoding and breakpoints are related.
Can you send an example and/or some steps to reproduce this?

Mattias

Lee Jenkins
to Andrea Mauri: I think the problem is related to the previuos one. Now I can see my files in laz ide…
Andrea Mauri wrote 10 lines
I think the problem is related to the previuos one. Now I can see my files in laz ide but, when I run my project the execution stops many times at some invisible breakpoints. The execution stops like when encounter a breakpoint, but no breakpoints are visible in the ide, I tried to add and remove the breakpoints, without results. This seems to happen only in file where the encoding is not recognized by lazarus. Regards, Andrea

Andrea,

Can you see any break points if you go to View > Debug Windows > Breakpoints?

I get something very similar to this once in a while and I see that there are break points defined in this dialog but not visible in the editor/gutter. Right
- Clicking and selecting "Delete All" fixes it.

Not sure if its the same, but thought I would mention it.

Warm Regards, Lee
Andrea Mauri
to Lee Jenkins

sorry. now the problem is solved, it was related to an old svn. I am not able to reproduce it.
andrea

Lee Jenkins ha scritto:

Show quoted text 26 lines
Andrea Mauri wrote: > I think the problem is related to the previuos one. > Now I can see my files in laz ide but, when I run my project the > execution stops many times at some invisible breakpoints. The execution > stops like when encounter a breakpoint, but no breakpoints are visible > in the ide, I tried to add and remove the breakpoints, without results. > This seems to happen only in file where the encoding is not recognized > by lazarus. > Regards, > Andrea > > Andrea, Can you see any break points if you go to View > Debug Windows > Breakpoints? I get something very similar to this once in a while and I see that there are break points defined in this dialog but not visible in the editor/gutter. Right - Clicking and selecting "Delete All" fixes it. Not sure if its the same, but thought I would mention it.
Guadagnini David
to Andrea Mauri: Ok, I compiled lazarus svn 14912 with -dVerboseIDEEncoding option. Checking my source…

Dear,

I have an error during build last SVN versione.

The error lines are:

Compiling jitform.pas
jitform.pas(105,38) Error: identifier idents no member "SetDesignInstance" jitform.pas(105,55) Error: Illegal expression
jitform.pas(105,55) Fatal: Syntax error, ";" expected but "(" found Fatal: Compilation aborted
make[2]: *** [jitform.ppu] Error 1
make[2]: Leaving directory `C:/lazarus/designer/jitform' make[1]: *** [jitform_all] Error 2
make[1]: Leaving directory `C:/lazarus/designer'
make: *** [designer] Error 2

Note:

Machine: Windows XP Professional
FPC: 2.2.0
SVN version: 15058
Compile command: make clean all
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sw_dept.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080506/a61de885/attachment.vcf