Edit & Continue

remz

13-03-2008 20:50:58

Hello,

I was wondering if anyone had managed to use that visual studio feature while working on a MOGRE project ?



(E&C is the feature that allows you to edit your code at runtime and resume execution w/o restarting it).

remz

20-03-2008 12:39:27

after looking a bit more into it :

E&C doesn't work in mixed mode project that is project which use native stuff more or less. so I believe it also apply if you're depending on a mixed-mode lib. which is the case of MOGRE.

hence, e&c doesn't work in mogre projects.

I hope someone will prove me wrong sometimes cause it's a nice feature!

Clay

21-03-2008 05:22:50

It works for me (in VS 2008). I believe there are two shortcomings with it, though this is off the top of my head:

1. It does not work in Mixed Mode Debugging. To fix this, change the debugging options to be Managed Only. You won't be able to step into C++ code, or possibly Mogre code itself, but just your code will work.
2. It doesn't work under under x64. This one I'm not sure about, but if I remember correctly it won't work under x64, but works under x86. I dunno if this was fixed in VS 2008.

remz

21-03-2008 07:35:39


To fix this, change the debugging options to be Managed Only.


I'll try that asap, thanks