Eclipse is a free graphical programming environment available for most computing platforms. This page explains some of its terms and gives instructions for using Eclipse for code browsing and debugging.

Eclipse dialect

The Eclipse interface is a window with sub-windows. A window is called a pane or a view in its documentation. A collection of panes is called a perspective. The two most used perspectives, if you develop C/C++ projects, are "C/C++" and "Debug". The former has windows containing the list of program files, and the latter has control buttons for stepping through a program and examining run-time variables.

Source browsing

Create a new project as follows.

  • click menu "File->New" and bring up the dialog box.
  • select the type of the project, click next
  • in the next frame
    • type in the project name
    • uncheck the box "Use default location"
    • give the full path of the top directory containing source files (I assume all source files are under a single directory)
    • click "finish"

The project will appear in the upper left pane. To search for a symbol, use the menu "Search->C/C++". You can search for just declarations, definitions, references or their combinations. You can also do a file search to find a certain string. You can use special characters in the search string: "*" for any string and "?" for any character.

If you highlight a symbol in an editor view and then open the search dialog box, the symbol will automatically be added to the search field.


Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2008-01-24 - ChenDing
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback