1) Debugging: If you use FPC trunk; and Lazarus trunk, then it should work.
But make sure your anti-virus does not interfere.
2) On 32 bit (but may happen on 64 bit too, don't know), I had once problems with dll. Turned out that bitdefender (Antivirus) just deleted the dll file => without warning, and despite all settings, saying to *always* ask first. Maybe ?