VS2010 - Edit and continue not working for flyingVehicle.cpp ! ! !
by Ahsan Muzaheed · in Torque 3D Professional · 09/21/2012 (8:31 pm) · 2 replies
no matter what u try:
changing value of any variable
or
commenting a statement, " Edit and continue" is not working.it always required to restart whole project.
and it is only happening for "flyingVehicle.cpp"
i have tried with other files of vehicle folder.with those file no need to restart." Edit and continue" is working fine for them.
can u guys test if u are having same problem?
just do this:
in "flyingVehicle.cpp", just search for " mThrust.y = move->y;".
and replace it with mThrust.y = move->y*2;
now prese "alt+f10"
as far i know changing some option disable " Edit and continue".but i did not change anything.
also profiling could do that.but i do not know how t3d's stock profiling work.
all i have found is:
PROFILE_SCOPE( FlyingVehicle_UpdateForces );
PROFILE_SCOPE( FlyingVehicle_UpdateMove );
but disabling those line does not help
any solution?
changing value of any variable
or
commenting a statement, " Edit and continue" is not working.it always required to restart whole project.
and it is only happening for "flyingVehicle.cpp"
i have tried with other files of vehicle folder.with those file no need to restart." Edit and continue" is working fine for them.
can u guys test if u are having same problem?
just do this:
in "flyingVehicle.cpp", just search for " mThrust.y = move->y;".
and replace it with mThrust.y = move->y*2;
now prese "alt+f10"
as far i know changing some option disable " Edit and continue".but i did not change anything.
also profiling could do that.but i do not know how t3d's stock profiling work.
all i have found is:
PROFILE_SCOPE( FlyingVehicle_UpdateForces );
PROFILE_SCOPE( FlyingVehicle_UpdateMove );
but disabling those line does not help
any solution?
About the author
Torque 3D enthusiastic since 2010.Have been working in several T3D projects besides of Unreal Engine 4 and Unity 3D. NEED a hand with your project? SHoot me a mail. http://www.garagegames.com/community/forums /viewthread/138437/
#2
ahh,fixed it.
in render() i was printing gettransform(),that was causing the lag.
!!!!!!!!!!!!!
only a con::printf() and what a decrease of fps
!!!!!!!!!!!!!!!!!!
10/04/2012 (9:49 pm)
" except very low fps !!!!!!!!!!!!!!"ahh,fixed it.
in render() i was printing gettransform(),that was causing the lag.
!!!!!!!!!!!!!
only a con::printf() and what a decrease of fps
!!!!!!!!!!!!!!!!!!
Ahsan Muzaheed
Default Studio Name
just tried with vs08 express edition
no problem except very low fps !!!!!!!!!!!!!!