Sign in to follow this  

Weirdest bug that's ever bitten me

This topic is 4530 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
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

This topic is 4530 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this