[osg-users] more on Windows debugging

Andy Skinner Andy.Skinner at mathworks.com
Mon Sep 24 08:39:23 PDT 2007

I'm getting the right dll files, and the right .pdb files.

Do the .pdb files specify the location of the source?  Relative to what?
I'm getting the dlls from one place (I copied them there), but am
getting the pdb files and trying to get the source from another spot.
Is there an issue where all these things need to be in the right
locations relative to each other?

I'm stopping in a callback and asking the stack trace for higher levels,
which I think should do the same as what you suggest.  It just tells me
it can't find source, and doesn't ask for a location.  I'll try what you
suggest about trying to step into OSG, though I think it'll be the same.


-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Brian
Sent: Monday, September 24, 2007 11:10 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] more on Windows debugging

Usually, VS will prompt you for a file location if it cannot find a
file.  It sounds like your DLLs are being loaded from the correct place,
but just in case, make certain that the DLLs you just recently built
match the ones that are being loaded.  It's been my experience that PDB
files can be very picky (frustatingly so, sometimes).  Check your output
window for the DLL names.  Also, set a breakpoint on some code that
calls an OSG function.  Step into that code and see what happens.  The
IDE should prompt you for a source filename if it cannot determine where
it is.

That's all that I can think of at the moment.

Hope it helps,

 On Mon Sep 24 10:39 , 'Andy Skinner' <Andy.Skinner at mathworks.com> sent:

>Has anyone had to do anything tricky to see OSG source code while
>debugging their application?
>I've been able to compile OSG debug, and to put the .pdb files where
>Visual Studio can see them.  If I stop in my code, I can see OSG
>on the stack trace.  But I can't see the source code.
>I've added the directories I need to a list of debug source locations.
>Does anyone else know how I should be able to see into the OSG source
>Visual Studio?
>osg-users mailing list
>osg-users at lists.openscenegraph.org

osg-users mailing list
osg-users at lists.openscenegraph.org

More information about the osg-users mailing list