Skip to content

IDStackTool and TEST_ENGINE #166

@dcnieho

Description

@dcnieho

There is a perhaps unintended consequence of compiling with IMGUI_ENABLE_TEST_ENGINE, see here:
https://github.com/ocornut/imgui/blob/8a3dfda8d082caa4eefa75d8a53ca5074b2c651d/imgui.cpp#L15387

That means that I cannot display the id stack window from my python application without first initializing the test engine. For a while doing this seemed to work:

self._test_engine_context = imgui.test_engine.create_context()  # need to keep a ref somewhere
imgui.test_engine.start(self._test_engine_context, imgui.get_current_context())

But this has started freezing on me on the imgui.test_engine.start call. Is this not the way i am supposed to use this? More generally, I wanted to report this, as i assume it was not the plan to for people to initialize the test_engine just to be able to show the id stack tool, correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions