[Lazarus] How to disable the assembler window on Linux?
silvioprog
silvioprog at gmail.com
Tue May 7 19:54:50 CEST 2013
2013/5/6 Martin <lazarus at mfriebe.de>
> On 06/05/2013 23:08, Martin wrote:
>
> Did you close the asm window before you tested?
>
> Anyway. It has the right filename.
>
> * Please recompile the IDE with the following define CTDEBUG
>
> * Please open the file \ide\debugmanager.pas
> line 1265
> insert the TWO debugln
>
>
> if (SrcLine > 0) and (CurrentSourceUnitInfo <> nil) and
> GetFullFilename(CurrentSourceUnitInfo, SrcFullName, True)
> then begin
> debugln('### A');
> // Load the file
> NewSource := CodeToolBoss.LoadFile(SrcFullName, true, false);
> if NewSource = nil
> then begin
> debugln('### B');
> if not (dlfLoadError in CurrentSourceUnitInfo.Flags) then begin
> MessageDlg(lisDebugUnableToLoadFile,
> Format(lisDebugUnableToLoadFile2, ['"', SrcFullName,
> '"']),
> mtError,[mbCancel],0);
> CurrentSourceUnitInfo.Flags := CurrentSourceUnitInfo.Flags +
> [dlfLoadError];
> end;
> SrcLine := -1;
> end;
> end
> else
> SrcLine := -1;
>
I tried it ...:
http://imagebin.org/256833
... but, error:
http://imagebin.org/256834
Seems that "PropertyAtom" has renamed to "PropVarAtom" and "VarNameAtom" to
"VarNameRange".
--
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130507/a8ad1760/attachment-0003.html>
More information about the Lazarus
mailing list