To avoid breaking external inspection, profilers and debuggers too often or to make supporting them too difficult, we added a special offset struct in the PyRuntime structure. Unfortunately there is nothing testing that this offsets are correct or that they are enough to analyse or profile a Python application on their own. To fix this, we should add some testing that exercises the offsets and ensure they are enough to serve the purpose they were added.
Linked PRs