Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualunbird

Posted 27 November 2012 - 12:10 PM

Really confusing. If the values get parsed just fine, I don't see a reason why they should change afterwards. Nothing else writes to it. At least not in the code you have provided so far (it looks like the original code after all). We need to see more code then.

If you got a professional version of Visual Studio, I think there's a debugger option to break on (specific) memory write or something. Alternatively, grab the raw pointer value after init, add it as a watch (dereferenced), step through your whole frame code and find out when it changes. Or do a comment/uncomment "binary search".

... wait: Is really the whole array filled with zeroes or just the first entry ?

#2unbird

Posted 27 November 2012 - 12:10 PM

Really confusing. If the values get parsed just fine, I don't see a reason why they should change afterwards. Nothing else writes to it. At least not in the code you have provided so far (it looks like the original code after all). We need to see more code then.

If you got a professional version of Visual Studio, I think there's a debugger option to break on (specific) memory write or something. Alternatively, grab the raw pointer value after init, add it as a watch (dereferenced), step through your whole frame code and find out when it changes. Or do a comment/uncomment "binary search".

... wait: Is really the whole array filled with zeroes or just the first entry ?

#1unbird

Posted 27 November 2012 - 12:08 PM

Really confusing. If the values get parsed just fine, I don't see a reason why they should change afterwards. Nothing else writes to it. At least not in the code you have provided so far (it looks like the original code after all). We need to see more code then.

If you got a professional version of Visual Studio, I think there's a debugger option to break on (specific) memory write or something. Alternatively, grab the raw pointer value after init, add it as a watch (dereferenced), step through your whole frame code and find out when it changes.

... wait: Is really the whole array filled with zeroes or just the first entry ?

PARTNERS