Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-09

how to delete codetools source cache?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David Emerson

I use the matrix unit in my project, and from it the types tmatrix4_single and tmatrix4_vector

It is located here:
/usr/share/fpcsrc/3.0.0/packages/rtl-extra/src/inc/matrix.pp

Recently while debugging, codetools somehow got the wrong unit, /usr/share/fpcsrc/3.0.0/tests/bench/shootout/obsolete/matrix.pp

I have been struggling with this for a couple hours now, and so I went ahead and deleted those obsolete shootout units. I definitely will never need them.

I closed and restarted lazarus.

But codetools seems to have cached the bad path. If I ctrl+return on uses matrix -- it prompts me, 'File
"/usr/share/fpcsrc/3.0.0/tests/bench/shootout/obsolete/matrix.pp" not found. Do you want to create it?'

So codetools has cached this garbage path, and I have no idea how to reset/delete the path. I've grepped for "obsolete" in $HOME/.lazarus and I can't find any reference to the garbage path, but it persists.

So original question - how do I delete the codetools source cache... or whatever it's called?

Thanks!

~David.

Reply by email

Mattias Gaertner
to David Emerson
Show quoted text 6 lines
[...] Recently while debugging, codetools somehow got the wrong unit, /usr/share/fpcsrc/3.0.0/tests/bench/shootout/obsolete/matrix.pp [...] So original question - how do I delete the codetools source cache... or whatever it's called?

Tools / Rescan FPC source directory

Or close IDE and delete ~/.lazarus/fpcdefines.xml

Mattias

Reply by email

David Emerson
to Mattias Gaertner
Mattias Gaertner wrote 16 lines
On Wed, 31 Aug 2016 17:12:32 -0700 David Emerson wrote: > [...] > Recently while debugging, codetools somehow got the wrong unit, > /usr/share/fpcsrc/3.0.0/tests/bench/shootout/obsolete/matrix.pp > [...] > So original question - how do I delete the codetools source cache... or > whatever it's called? Tools / Rescan FPC source directory Or close IDE and delete ~/.lazarus/fpcdefines.xml Mattias

Thanks very much!!

~David.

Reply by email