Skip to content

BP debug tools should check version #4756

@hahnjo

Description

@hahnjo

Describe the bug
The bp?dbg tools are quite handy, but they don't check the BP version resulting in bogus output when mistyping.

To Reproduce

  1. Write a dataset with io.SetEngine("bp5") or io.SetEngine("bp4").
  2. Open the dataset with the wrong bp4dbg or bp5dbg.
  3. Observe bogus data from the incorrect binary format.

Expected behavior
A clear error message should be printed that the BP version is not as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions