In release mode it won't update the file when i clean/rebuild
It hits the first breakpoint, but won't actually enter the function:

EDIT:
Also this problem makes no sense:

it is empty yet it's clearing? i have that if statement specifically to stop it from doing that.