so it executes some code and then it just stops? and it stops in different places as you add more debug code? could be something very simple, i had a silly issue where in scene init i had an infinite loop… perhaps you have something similar and its execution is delayed, which would explain why it stops in different places?

don’t know enough to comment about linking but have you tried running make clean and then building again?