How to debug Ganga with Wing IDE graphical debugger

Note: Wing IDE version 2.0.3 does not work with python2.2. You may use python 2.3 from ganga/external/Python repository which automatically installed with ganga.

  1. Read about installation and licensing of Wing IDE here: http://cern.ch/product-support/sdt/wingide.html
  2. Run wing2.0 and open the bin/ganga executable file in the source editor window and press F5 (Menu: Project|Debug)
  3. Specify the Run Arguments in the Debug dialog box:
    -o'[Configuration]TextShell=Console' --no-rexec
    The options above diable IPython (which otherwise confuses the debugger) and ask Ganga not to do internal exec of itself. This means than if you have some special application environment which is set automatically at bootstrap time, it may not be complete (this affects mainly the LD_LIBRARY_PATH) . If this is a case, make sure that you setup correct application environment before you run the debugger.

N.B. The above procedure will also allow reasonable debugging using eclipse with the pydev plugin. -- Main.wreece - 18 Feb 2007

-- JakubMoscicki - 04 Sep 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2007-11-02 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback