You can trigger debugging when Eclipse is not running using the just-in-time debugging feature. When this is enabled, an application stops when a run-time error occurs or if the code contains CBL_DEBUGBREAK and CBL_DEBUG_START library routines, and Eclipse starts in the debugging perspective.
The debugger attaches to the failed process and the relevant line of source is highlighted. You can view the contents of data items and memory and step through the code using the standard debugging techniques.
By default, when just-in-time debugging launches Eclipse, only the source file is opened and no associated project. This means that there are no background parse errors or warnings shown, and editing the source is impossible. However, you can configure Eclipse to open in a particular workspace, so that you can see the file in the context of a project and use background parsing and other editing features.
COBJIT_ECLIPSE=true <workspace to open on error>