Re: [VirtualGL-Users] How to debug applications under virtualgl
3D Without Boundaries
Brought to you by:
dcommander
|
From: DRC <dco...@us...> - 2011-05-08 21:42:11
|
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 <ws...@gm...> 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 > Vir...@li... > https://lists.sourceforge.net/lists/listinfo/virtualgl-users |