You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would instead give the error: Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?
or even the full line: IM_ASSERT_USER_ERROR(g.CurrentWindowStack.Size == 1, "Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?");
I'm not familiar with cgo so I'm not sure how feasible it is, but it would definitely save a lot of time when debugging.
The text was updated successfully, but these errors were encountered:
$ ebiden_debug.sh go run .
Hello World!
File: /home/runner/work/cimgui-go/cimgui-go/cimgui/imgui/imgui_widgets.cpp, Line: 7597
exit status 1
Line 7597 from imgui_widgets.cpp:
IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginMenu()/EndMenu() calls
For crashes, it would be great if it showed the original error message rather than the original line number. So instead of:
pointing to https://github.com/gabstv/cimgui-go/blob/main/cimgui/imgui/imgui.cpp#L9932
It would instead give the error:
Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?
or even the full line:
IM_ASSERT_USER_ERROR(g.CurrentWindowStack.Size == 1, "Mismatched Begin/BeginChild vs End/EndChild calls: did you forget to call End/EndChild?");
I'm not familiar with cgo so I'm not sure how feasible it is, but it would definitely save a lot of time when debugging.
The text was updated successfully, but these errors were encountered: