Hi there , I'm delphi and a C Coder actually I used to debug my applications using professional tools such us debuggers , recontstructors , dissamblers to debug my own applications so I can find where the bug comes from and do my best to fix them also be generating a map file that can help me even more anyway just provide with couple more information on your project and I'll do my best after all it is your verdict
Best Regards