Also update your svn.

I was told that a potential issue was just fixed.


On 07/05/2013 21:59, Martin wrote:
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 <[email protected] <mailto:[email protected]>>

    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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to