MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / DebugBreakButtonTooltip

Method DebugBreakButtonTooltip

include/imgui/imgui.cpp:17103–17113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17101}
17102
17103void ImGui::DebugBreakButtonTooltip(bool keyboard_only, const char* description_of_location)
17104{
17105 if (!BeginItemTooltip())
17106 return;
17107 Text("To call IM_DEBUG_BREAK() %s:", description_of_location);
17108 Separator();
17109 TextUnformatted(keyboard_only ? "- Press 'Pause/Break' on keyboard." : "- Press 'Pause/Break' on keyboard.\n- or Click (may alter focus/active id).\n- or navigate using keyboard and press space.");
17110 Separator();
17111 TextUnformatted("Choose one way that doesn't interfere with what you are trying to debug!\nYou need a debugger attached or this will crash!");
17112 EndTooltip();
17113}
17114
17115// Special button that doesn't take focus, doesn't take input owner, and can be activated without a click etc.
17116// In order to reduce interferences with the contents we are trying to debug into.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected