Hi,

It isn't exactly what you are after, but you can set the OSG_NOTIFY_LEVEL to 
debug and that will give you a decent idea of what is happening. Having said 
that, I really do think the be option is to do the 'really boring' work and 
step through the execution with a debugger. I have done exactly this with 
VPBMaster and osgdem many times to gain a good understanding of how it works. 
It might be slow but it really is the only way you will really get to grips 
with what I happening.

Cheers,
Brad

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of wang junchao
Sent: Wednesday, 1 December 2010 9:58 AM
To: [email protected]
Subject: Re: [osg-users] [vpb] How to debug VPB step by step

Hi Robert,

Thank you for your reply. But maybe I didn't make myself understood. As you 
know, reading source code is a very complex and boring work. So my question is 
that : can I input a commandline like "osgdem -t -.. d.. - o output.ive" and 
trace the execution of the program step by step like the Visual Studio's debug 
mode ?

Thank you again for your reply!

Cheers,
wang

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





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



DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or 
copyright
material or information that is subject to legal professional privilege. They 
are for
the use of the intended recipient only.  Any unauthorised viewing, use, 
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without 
the
written permission of the owner. If you have received this transmission in 
error, or
are not an authorised recipient, please immediately notify the sender by return 
email,
delete this message and all copies from your e-mail system, and destroy any 
printed
copies. Receipt by anyone other than the intended recipient should not be 
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or 
represent
that this e-mail or any documents, files and previous e-mail messages attached 
are
error or virus free.
--------------------------------------------------------------------------------------

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

Reply via email to