I am trying to debug (Delphi 4.03) a DLL which is dynamically loaded by an application. I used to be able to use the debugger on this DLL, but now, all of a sudden, it is no longer possible to set valid breakpoints. Only some source lines (constructor/destructor, non-object procedures) have the blue dot in the gutter after a full build (this used to be for nearly all lines, as far as I recall).
All debugging options are checked (for the DLL as well as for the main app + integrated debugging on), optimization off. It seems to make no difference if 'build with runtime packages' is on or off. Probably I changed something (like a search path or so), but I can not figure out what it is.
Does anyone have an idea what is going on?