[Lazarus] How to disable the assembler window on Linux?

Martin lazarus at mfriebe.de
Tue May 7 22:59:26 CEST 2013


Try at least the 2 debugln,

So we can see if
     NewSource := CodeToolBoss.LoadFile(SrcFullName, true, false);

is called.
And if it returns a result or nil


On 07/05/2013 18:54, silvioprog wrote:
> 2013/5/6 Martin <lazarus at mfriebe.de <mailto: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 <http://github.com/silvioprog>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130507/e83c2303/attachment-0003.html>


More information about the Lazarus mailing list