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
- Write a dataset with
io.SetEngine("bp5") or io.SetEngine("bp4").
- Open the dataset with the wrong
bp4dbg or bp5dbg.
- 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.