The best bet is to just try and reduce it to a super minimal example, then you can try and find what is the cause (or i can)… Its a lot of trial and error
You can use VSCode i think to debug hxcpp, but ive never had much luck with it (though i havent tried in a while).
Let me know if you manage to create a super minimal example.
Cheers,
Ian