Debugging an AccessViolationException
My app throws an AccessViolationException but I can't find out why. It just uses VB2005 controls (no calls to other DLLs etc) and doesn't use pointers.
I've tried the usual - stepping through the code and commenting out chunks to try and isolate the problem but it seems rather random - I can run the same code three times and it throws the error on the fourth.
Rod, have you any suggestions on how to go about debugging this?
|