Project Control
|
|
|
Project filename |
*.APP
|
.cobolProj in Project directory |
Add file to project |
To create a new file from the supported types in the project directory, click File > New, specify the type of file to create, and click OK. Click Project > Add Files to Project to add existing files to the project. |
All files in the project directory and its subdirectories are automatically part of the project. You can exclude programs or subdirectories from a build using the Build Action option on the context menu. |
Copybook path |
|
By default, all directories within a project and their subdirectories are included in the initial copybook path.To make changes, click Project > Project Properties > Micro Focus > Build Path and select the Copybook Paths tab. |
Build settings for the project: - COBOL
- Preprocessor
- Additional Directive
|
|
Right-click the project name and select Properties, (or click Project > Properties from the main menu). |
Execution environment settings:
|
|
The execution environment is COBOL Server. |
Debug settings: - DateWarp
- Stored Procedures
|
|
DateWarp is present in the debug launch configurations. |
Editing
|
|
|
Suggest Word/Content Assist |
CTRL+G
|
CTRL+Space
|
Locate |
F12 (or context menu Locate) |
F3 (or context menu Goto Definition) |
COBOL Find |
CTRL+Shift+F12 (or context menu COBOL Find) |
CTRL+Shift+G (or context menu Find References) |
Compress |
Tool bar compress (or context menu Compress) |
Double-click on an item to jump to the line in the program. |
Bookmark |
CTRL+F2
|
Click Edit > Add Bookmark. |
Compiling
|
|
|
Single file Compile |
CTRL+F7 (or click check mark) |
Right-click a program name and select Single File Compile. Note: This applies to native code only.
|
Build |
F7 (or click build) |
By default, Eclipse automatically builds projects to keep them up to date. You can also build on request. To turn off the automatic build, click Project > Build Automatically. |
Build All |
ALT+B A
|
Cleaning a project forces a rebuild. To access this, click Project > Clean. |
Debugging
|
|
|
Start Debugging |
Alt+D A
|
Choose Debug or F11 Before launching the session, create an appropriate debug launch configuration. |
Stop Debugging |
Shift+F5
|
CTRL+F2 (or context menu Terminate) |
Restart Debugging |
Ctrl+Shift+F5
|
From the executable in the debug stack view, right-click and select Relauch from the context menu. |
Run |
F5
|
CTRL+F11
|
Step |
F11 (or click step) |
F5
|
Step All |
Ctrl+F5
|
Resume
on the debug toolbar. |
Run Thru |
|
F6 (or Step Over) |
Run Return |
|
F7 (or Step Return) |
Run to Cursor |
Shift+F10 (or context menu) |
CTRL+R (or context menu Run to Line) |
Skip to Cursor |
CTRL+Shift+F10
|
ALT+F12, R (or Reset Execution Point) |
Skip Statement |
|
No equivalent. Use ALT+F12, R (or Reset Execution Point) |
Skip Return |
|
No equivalent. Use ALT+F12, R (or Reset Execution Point) |
Examine ' data item' |
Shift+F9
|
The Variables View automatically shows variable values on the current and previous lines. |
Breakpoint set |
F9
|
Double click in the left margin to toggle a breakpoint. |
Conditional Breakpoint |
|
From the Breakpoints View, select a breakpoint and edit the properties. |
Break on Data Change |
Via list view |
To set a WatchPoint, double-click in the margin of line containing a WS item, or set it from the Outline View context menu. |