Changes between Version 47 and Version 48 of DeveloperGuidelines/Eclipse


Ignore:
Timestamp:
11/11/11 20:06:39 (13 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Eclipse

    v47 v48  
    5757     (This is where you will need to select web2py before trying Run or Debug to avoid the empty $project_loc error.)
    5858  i. Drag the Expressions, Console, Tasks tabs to the upper right, where the Variables tab is. Drag PyDev Package Explorer to the upper left where Debug is. (This leaves more space for the editor view.)
    59   i. Window > Customize Perspective > Go through the tabs and untick !PyDev Debug. Click OK
     59  i. Window > Customize Perspective > Tool bar visibility > untick !PyDev Debug. Click OK
    6060  i. Set your default HTML editor
    61      1. From the Window menu, choose Preferences
    62      1. Under General section on the left
    63      1. Open the Editors section
    64      1. Choose File Associations
    65      1. Highlight .htm
    66      1. Click "Add..."
     61     1. Window > Preferences > General > Editors > File Associations
     62     1. Click .htm
     63     1. In the Associated editors section below, click "Add..."
    6764     1. Choose "Text Editor"
    6865     1. Click OK
     66     1. Text Editor will be added to the editors list. If not selected, click it.
     67     1. Click Default.
    6968     1. Repeat the process with .html
    7069     1. Click OK
     
    7877
    7978== Debugging with Eclipse ==
    80  * Set and remove breakpoints by double clicking in the margin of the code file
    81  * Click the 'Debug Sahana Eden' button
     79 * Set and remove breakpoints by double clicking in the margin of the code file.
     80 * To start running with the debugger: In the toolbar below the main Eclipse menu bar, find the bug icon and click the down-arrow next to it. Click the option that has a "P" superscript. After this, you can just click the bug. (If you get an error that indicates Eclipse tried to run unittests instead, go through the down-arrow menu again.)
    8281
    8382 * F5 Step into functions
    8483 * F6 Step over lines
    8584 * F7 Step out of functions
    86  * Use expressions (drag and drop from code) or right-click > watch 
     85 * Use expressions (drag and drop from code) or right-click > watch
     86 * Examine values of variables in the Variables tab.
    8787
    8888=== Accessing private data ===