Jean-Sébastien Guay wrote:

Well the name "old-style" might also mean that there are drawbacks to using that option... I wouldn't know if the only effect is that the debug information is embedded instead of in a separate file.
We develop with SCons (which uses the MSVC compiler on Windows), and we use the /Z7 option all the time, because it allows us to compile code in parallel without any worries of conflicts. With the normal /Zi option, you get conflicts when two or more processes are trying to write to the .pdb file at the same time.

You can still make use of just-in-time and source-level debugging with the "old-style" debug info. I do it all the time. The only drawback that I know of is that the embedded debug info makes the final object (.exe or .dll) larger, and it might increase loading time a bit.


The real solution I think would simply be to package the .pdb files with the .dlls, perhaps in a separate zip file... Here at work we normally check in the .dlls to source control, and have a separate zip file on a server that people who need to debug OSG can unzip in their local installation.

I think they're both "real" solutions. The .pdb files might be the Microsoft solution, but both work just fine.

--"J"

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to