... | ... | @@ -12,13 +12,13 @@ I accepted the default locations for the Java VM and Eclipse. It worked. |
|
|
|
|
|
### Ubuntu
|
|
|
|
|
|
**_New 2021!_** The Ubuntu app store offers an older version of Eclipse. I went directly to the [Eclipse site](https://www.eclipse.org/) and downloaded the Debian tarball. After expanding, double click on the installer, the file eclipse-inst within the exploded tarball. Eclipse installed directly into my home directory and worked without drama. I did not need to install a separate JDK.
|
|
|
**_New 2021!_** The Ubuntu app store offers an older version of Eclipse. I went directly to the [Eclipse site](https://www.eclipse.org/) and downloaded the Debian tarball. After expanding, double click on the installer, the file eclipse-inst within the exploded tarball. Eclipse was installed directly into my home directory and worked without drama. **_New 2021!_** I did not need to install a separate JDK.
|
|
|
|
|
|
**both**
|
|
|
|
|
|
Launch eclipse when it offers to. I accepted the default workspace location.
|
|
|
|
|
|
Choose a folder to be your workspace. "eclipe/workspace/" is good.
|
|
|
Choose a folder to be your workspace. "eclipse/workspace/" is good.
|
|
|
|
|
|
Choose the workbench circle on the right - This should take you to a standard-looking IDE interface
|
|
|
|
... | ... | @@ -52,7 +52,7 @@ Browse to the sys_gcc directory and click OK |
|
|
|
|
|
Click **Apply and close**
|
|
|
|
|
|
## Tips for working with Eclipse
|
|
|
## Tips for Working with Eclipse
|
|
|
|
|
|
#### Keep windows open
|
|
|
|
... | ... | @@ -83,8 +83,8 @@ Also select save automatically before build |
|
|
|
|
|
### Working with breakpoints
|
|
|
|
|
|
Set a breakpoint by right clicking in the margin to the left of the source.\
|
|
|
Start running the code by clicking on bug icon to the right of the hammer build icon. The code will immediately stop in main and you will be in the debug perspective. To continue debugging click on the right arrow in the debug window, to the left of the red square (the stop debugging icon).
|
|
|
Set a breakpoint by right-clicking in the margin to the left of the source.\
|
|
|
Start running the code by clicking on the bug icon to the right of the hammer build icon. The code will immediately stop in main and you will be in the debug perspective. To continue debugging click on the right arrow in the debug window, to the left of the red square (the stop debugging icon).
|
|
|
|
|
|
### Creating a debug configuration
|
|
|
|
... | ... | @@ -99,7 +99,7 @@ The "builder settings" should show a build command something like "make debug -j |
|
|
|
|
|
### Changing configurations
|
|
|
|
|
|
Right click on the project name in the project explorer window.\
|
|
|
Right-click on the project name in the project explorer window.\
|
|
|
The "build configuration" allows the configuration to be changed.
|
|
|
|
|
|
#### Eclipse indexer confusion when building in one of the sys_??? directories
|
... | ... | |