Hi,

I'm trying to find a bug, and a good way to do that is to set a breakpoint in 
the error message that OSG generated. But.. I use the premade binaries for 
MSVC++ 10. So now I also downloaded the PDB's and the source files. 

First thing I tried is stepping into a OSG function. Now it asks for (for 
example) the Viewer.cpp. I did enter 'C:\OpenSceneGraph-3.0.1\src' in the 
solution properties for 'directories containing source code' but it does not 
find it automatically.

So now when I go to my the source file of Viewer.cpp, it sais it is not the 
original source code file, but I can continue anyway. It seems to work though.

First thing I wonder: it is really a different source code file? It's all from 
version 3.0.1. So is this a normal message and should I ignore it?

More importantly, how can I link all the source files with the PDB files so it 
can find source files automatically?

And how am I exactly able to set breakpoints in the source code from OSG in 
this way. The source files are not in my project or solution right now... Or 
should I try a different kind of build, where I mix the OSG code with my own 
code in the same project, or same solution?

I know this is not exactly OSG knowledge, but more MSVC++ knowledge, but it 
would really help me a lot of someone could explain a bit on how this is 
supposed to work (after all, the PDB files ARE supplied, so there should be a 
way to easily use the DLL and still link it to the source code right?)

Any help would be appriciated, thanks!

Cheers,
Bram

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54994#54994





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to