.pas file not found but the .dcu is there, is that not enough?
<p>In Delphi 7 I have in the 'Tools/Environment options/Library' under my 'Libray path' the following directory :  </p>

<pre><code>C:\ggProgramFiles\QR-synopse-pdf-files
</code></pre>

<p>In there I have some Pas files and their Dcu files.
One of the files here is QRPDFSynFilt.pas and QRPDFSynFilt.dcu</p>

<p>Now my problem is that since the pas files are available there I always step into them while debugging and I find that annoying.<br>
So I made a new directory :  </p>

<pre><code>C:\ggProgramFiles\QR-synopse-pdf-files\dcu  
</code></pre>

<p>and copied only the dcu files there.<br>
Then I altered the path in 'Tools/Environment options/Library' to point to this new directory.<br>
But now Delphi 7 tells me he cant find  </p>

<pre><code>C:\ggProgramFiles\QR-synopse-pdf-files\dcu\QRPDFSynFilt.pas
</code></pre>

<p>and that is correct only the dcu is there.<br>
But I always believed that when Delphi finds the DCU file that would be enough, the PAS file would not be needed if the DCU is found.  </p>

<p>So my question is does Delphi needs the PAS file to compile or is the DCU enough and if the latter is true what could cause Delphi to give me this error ?</p>

<p><strong>EDIT on Deltics answer</strong></p>

<p>I could use the compiler directive {$debuginfo OFF} but since these units are 3th party I did not wanted to edit them.
If nothing else works I will still do that.</p>

<p><strong>EDIT on Davids comment :</strong>
the compiler error is  </p>

<pre><code>[Fatal Error] File not found 'C:\ggProgramFiles\QR-synopse-pdf-files\dcu\QRPDFSynFilt.pas'
</code></pre>