This happens to me from time to time.  Here's another thing to try, when you
startup the debugger, look in the output window look for a line like so:
'osgvislib_driver_console.exe': Loaded
'C:\bsi\3rdparty\osg\OpenSceneGraph\bin\win32\osgTextd.dll', No symbols
loaded.

Notice the part that says "No symbols loaded". That line should read:
'osgvislib_driver_console.exe': Loaded
'C:\bsi\3rdparty\osg\OpenSceneGraph\bin\win32\osgTextd.dll', Symbols loaded.


The fix, at least for me, is to re-compile the module in question. Just open
OSG in Visual Studio and right click on the offending project and select
"Project Only" => "Rebuild Only $PROJECTNAME"

Another note, my path includes a reference to OpenSceneGraph\bin\win32

Let me know if that does the trick. If that fixes your problem as well, we
should probably include this in the FAQ.



On 2/8/07, Chuck Cole <[EMAIL PROTECTED]> wrote:

Zach,

In the project settings for Core osgViewer, change the C/C++ -> General ->
'Debug Information Format' setting to 'Program Database for Edit &
Continue
(/ZI)' (it is set to 'Program Database (/Zi)' by the CVS project file).
This is how VS8 is setup and I believe VS7 is the same, but the exact
names
and menu options may be slightly different.

After changing this setting, I was able to hit breakpoints within the
osgViewer::Viewer class whereas previously I was unable to do so.
Hopefully, this is your intent as well.

chuck

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Zach Deedler
> Sent: Wednesday, February 07, 2007 9:23 PM
> To: 'osg users'
> Subject: [osg-users] Debugging VS7
>
> Anybody have a clue why I can't step into osgViewer::Viewer code in
Visual
> Studio 7 when debugging OSG CVS?  Its driving me crazy!
>
>
> Zach
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to