Changes between Version 4 and Version 5 of DevEnvironment


Ignore:
Timestamp:
04/27/11 11:00:20 (3 years ago)
Author:
matija
Comment:

First version, may need some additions regarding documentation.

Legend:

Unmodified
Added
Removed
Modified
  • DevEnvironment

    v4 v5  
    6969=== Enabling Running and Debugging === 
    7070 
    71 For debugging, you need to set up two debug configurations: one for Python and one for C++. That of course means you won't be able to debug both types of code at once. Choose Run->Debug Configurations and set up the following two configurations. 
     71For debugging, it's best to set up three debug configurations: one for Python code, one for C++ code with Orange Canvas being invoked and one without Canvas to debug in python scripting environment. Choose Run->Debug Configurations and set up the following configurations. 
    7272 
    73 Add a new "Python Run" configuration, name it `orange-python`, select `orange` as the project and `OrangeCanvas/orngCanvas.pyw` as the main module. Click apply. 
     73Add a new "Python Run" configuration, name it `orange-canvas-python`, select `orange` as the project and `OrangeCanvas/orngCanvas.pyw` as the main module. Click apply. 
    7474 
    75 Now add a new "C/C++ Application" configuration, name it orange, select `source` as the project and `/usr/bin/python` as the C/C++ Application. In the Arguments tab, type `${workspace_loc}/orange/OrangeCanvas/orngCanvas.pyw` as program arguments.  Debugger should be set to "gdb Debugger" and "Stop on startup" '''not''' checked. You may now apply the configuration. 
     75Now add a new "C/C++ Application" configuration, name it `orange-Cpp`, select `source` as the project and `/usr/bin/python` as the C/C++ Application. Debugger (in the Debugger tab) should be set to "gdb Debugger" and "Stop on startup" '''not''' checked. You may now apply the configuration. 
     76 
     77Now clone the last configuration, name it `orange-canvas-Cpp` and add, in the Arguments tab, type `${workspace_loc}/orange/OrangeCanvas/orngCanvas.pyw` as program arguments.