title: How to find a dangling interface that causes an AV in Delphi
body: <p>I've a complex application to which I've just introduced some changes, adding a couple of new classes with interfaces and deleting some others. Functionally it all works but I get an access violation just after the Destroy procedure of a class:</p>
  
  <p>"Access violation at address 0040B984 in module 'xxxx.exe'. Read of address 80808088".</p>
  
  <p>I know this to be in the 'Finalize' code of the class and sure enough if I step into the dissassembly (Delphi 2010) I can see the point of the AV. I cannot see an easy way to find out which of my variables is triggering this though. Is there a procedure to be followed when going this deep that would get me a clue to the instance that is being referred-to?</p>
  
  <p>Thanks
  Brian</p>