Eclipse Equinox Documentation

Logo

This is the documentation of the Eclipse Equinox Framework.

View the Project on GitHub eclipse-equinox/equinox

exportFrameworkState [path] [persistWirings]

Description

Exports the current framework state including the wiring information

This command exports the current OSGi framework state to a file, which includes information about bundles and their wiring. This is useful for debugging, analysis, or creating snapshots of the framework’s state at a particular point in time.

Parameters

Usage

exportFrameworkState <path>
exportFrameworkState <path> <persistWirings>

Examples

Export framework state with wiring information

g! exportFrameworkState /tmp/framework-state.dat
Exporting ModuleDatabase to /tmp/framework-state.dat...

This will export the complete framework state including all wiring information to the specified file.

Export framework state without wiring information

g! exportFrameworkState /tmp/framework-state-no-wiring.dat false
Exporting ModuleDatabase to /tmp/framework-state-no-wiring.dat...

This will export the framework state but exclude the wiring information, resulting in a smaller file.

Use Cases

Related links: