I’m making a program with C++ and Lua. When I run the program in Release mode OUTSIDE of the debugger, the program doesn’t behave as expected (it doesn’t crash, it just doesn’t do what I thought it would). When I start it from the debugger, it behaves just fine.
I understand that there are differences in the way a program will be run in a debugger vs outside of one (Heap differences? Some uninitialized variables?). Is it possible to configure the debugger so it will run the Release version of my program with as few changes as possible, so I can try to make this problem happen while debugging?
Here’s a couple of things to try: