<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Try at least the 2 debugln,<br>
      <br>
      So we can see if<br>
          NewSource := CodeToolBoss.LoadFile(SrcFullName, true, false);<br>
      <br>
      is called.<br>
      And if it returns a result or nil<br>
      <br>
      <br>
      On 07/05/2013 18:54, silvioprog wrote:<br>
    </div>
    <blockquote
cite="mid:CAKq_V2L6VKJDNqd0inqdi2p3L=3bbZOwo4d8f5cVtBq8SZowKQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">2013/5/6 Martin <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:lazarus@mfriebe.de"
            target="_blank">lazarus@mfriebe.de</a>></span><br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div class="im">
                  <div>On 06/05/2013 23:08, Martin wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div>Did you close the asm window before you tested?<br>
                    </div>
                  </blockquote>
                </div>
                Anyway. It has the right filename.<br>
                <br>
                * Please recompile the IDE with the following define 
                CTDEBUG<br>
                <br>
                * Please open the file   \ide\debugmanager.pas<br>
                line 1265<br>
                insert the TWO  debugln<br>
                <br>
                <br>
                  if (SrcLine > 0) and (CurrentSourceUnitInfo
                <> nil) and<br>
                     GetFullFilename(CurrentSourceUnitInfo, SrcFullName,
                True)<br>
                  then begin<br>
                debugln('### A');<br>
                    // Load the file<br>
                    NewSource := CodeToolBoss.LoadFile(SrcFullName,
                true, false);<br>
                    if NewSource = nil<br>
                    then begin<br>
                debugln('### B');<br>
                      if not (dlfLoadError in
                CurrentSourceUnitInfo.Flags) then begin<br>
                        MessageDlg(lisDebugUnableToLoadFile,<br>
                                   Format(lisDebugUnableToLoadFile2,
                ['"', SrcFullName, '"']),<br>
                                   mtError,[mbCancel],0);<br>
                        CurrentSourceUnitInfo.Flags :=
                CurrentSourceUnitInfo.Flags + [dlfLoadError];<br>
                      end;<br>
                      SrcLine := -1;<br>
                    end;<br>
                  end<br>
                  else<br>
                    SrcLine := -1;</div>
            </blockquote>
            <div><br>
            </div>
            <div style="">I tried it ...:</div>
            <div style=""><br>
            </div>
            <div style=""><a moz-do-not-send="true"
                href="http://imagebin.org/256833">http://imagebin.org/256833</a><br>
            </div>
            <div style=""><br>
            </div>
            <div style="">
              ... but, error:</div>
            <div style=""><br>
            </div>
            <div style=""><a moz-do-not-send="true"
                href="http://imagebin.org/256834">http://imagebin.org/256834</a><br>
            </div>
            <div style=""><br>
            </div>
            <div style="">Seems that "PropertyAtom" has renamed to
              "PropVarAtom" and "VarNameAtom" to "VarNameRange".</div>
            <div><br>
            </div>
          </div>
          -- <br>
          Silvio Clécio<br>
          My public projects - <a moz-do-not-send="true"
            href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>