The typical way I do it is to build VirtualGL with DEBUG=yes and then run the 
app with 'vglrun +de'. You can also forego the use of vglrun and simply set 
LD_PRELOAD=librrfaker.so from within gdb.

vglrun +de doesn't currently work unless VGL is built with DEBUG=yes, but I 
guess I should reevaluate that, since it is useful for debugging the 3D 
application even if VGL itself is not built with debug code.

On May 8, 2011, at 4:20 PM, Wagner Sales <wsa...@gmail.com> wrote:

> Hi all,
> 
> This is a very basic question, but I'm a newbie on virtualgl and
> failed to get answers in google. Today I installed vgl to get my
> nVidia Optimus working on linux. After all working, I need to debug a
> 3D application in vgl. Since I need to run my application by typing
> vglrun <myapp>, I don't know how to setup a debug environment to debug
> my app ( before this, was a gdb <myapp>, for example ). Someone here
> can points me in a direction? Any help will be must appreciated.
> 
> 
> Regards,
> 
> Wagner Sales
> 
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> VirtualGL-Users mailing list
> VirtualGL-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to