Skip to content

Use OSGI debug tracing in org.eclipse.ui.workbench #4033

@trancexpress

Description

@trancexpress

See org.eclipse.ui.internal.misc.Policy: https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/misc/Policy.java

The debug flags defined there delegate to:

  • org.eclipse.ui.internal.WorkbenchPlugin.log(String, Throwable)
  • org.eclipse.core.commands.internal.util.Tracing.printTrace(String, String)

This mainly has the problem of not including most information available in OSGI tracing, such as current thread, calling method and so on.

See this for an example on what we should instead do: org.eclipse.core.internal.jobs.JobManager.DEBUG_TRACE

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions