Jump to content
  • Advertisement
Sign in to follow this  
NTense

Weirdest bug that's ever bitten me

This topic is 4815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is really strange. I've created some new classes for my project, and when I went to test them, I came across a really weird bug. In tracing through my code at runtime, my new classes jump into their constructors, but the member assignments in the constructors don't take. Here's a screenshot of one of the classes (a simple 2D bounding box). It doesn't take any arguements, just zero's the float values (all of these fields are just regular floats). But as you can see from the screenshot, my trace is at the end of the constructor, and the values in the debug panel at the bottom are junk values, not zero. The weird part is no error pops up until one of my objects gets used and the values stored in the variables are so out of whack that errors start flying :) Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Oh My GOSH!!!! Just hand me my Dunce hat now.. I had put it in release mode a few days ago to do some rendering speed comparisons, and never set it back! Well, anyway, thank you John.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!