Panda3d would only run successfully with vs2008?

I can compile examples successfully with vs2005. But, while I try debugging or just executing them, they could crash from time to time.
I have to say the lib/dll maintenance of Panda3d seems kinda messed(maybe only on windows, and the autobuild tool still don’t have a debug option).

It’s because the current build scripts are built for VS 2008, and so are the thirdparty packages. You will need to change a lot if you want to use a different version.
If you insist on using VS 2005, Panda3D 1.5.4 and before used it.

There actually is a debug option, use “–optimize 1”.

sorry, i misunderstood this “optimize 1”.
but, while I try building from panda source by “makepanda\makepanda.bat --everything --optimize 1”, the console just prints “python -V did not produce the expected output”.