newton throw an error between debug and release .

ahmadi

02-08-2006 21:20:28

Hi
dont forget that demo 8 is ragdoll demo.

i have the demo 8 project, that can run in Debug mode without any error
also i can run it in relase mode without any error
now i have 2 exe file (debug and release)
also i can run this 2 exe from windows explorer without any error
and i have not any error in ogre.log
i can see ogre rendering window in each exe
and also i can see scene contain in 2 exe (mode)
also ogre framelistener work correctly in 2 exe(mode)
also all mouse and key listener event work correctly in 2 exe(mode)
but....
but...
after pressing "1" the debug mode work correctly but release mode trown an error
!!!!
what is wronge!!!


after pressing "1" in the demo 8 , only in release mode, i have an windows memory error.

walaber

03-08-2006 06:57:13

try stepping through the debugger, to determine where it is crashing. most likely, there is a variable that is not being initialized or something.

ahmadi

03-08-2006 07:44:42

try stepping through the debugger, to determine where it is crashing. most likely, there is a variable that is not being initialized or something.
is it possible to i stop debugger in release mode?

walaber

04-08-2006 04:02:07

yeah. as long as you set the build settings to include debugger symbols

ahmadi

04-08-2006 10:20:12

try stepping through the debugger, to determine where it is crashing. most likely, there is a variable that is not being initialized or something.
im not success to solve the problem, dont forget that your demo 8 have not any problem in debug mode, and i can play with ragdoll.
if i compile your source that can run in debug mode without any change as release mode, now i can not play with ragdoll and i have runtime error.
its your source and you can solve problem easily , but i have not enough knowledges. :D