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

Method DebugBreakButtonTooltip

include/imgui/imgui.cpp:17194–17204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17192}
17193
17194void ImGui::DebugBreakButtonTooltip(bool keyboard_only, const char* description_of_location)
17195{
17196 if (!BeginItemTooltip())
17197 return;
17198 Text("To call IM_DEBUG_BREAK() %s:", description_of_location);
17199 Separator();
17200 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.");
17201 Separator();
17202 TextUnformatted("Choose one way that doesn't interfere with what you are trying to debug!\nYou need a debugger attached or this will crash!");
17203 EndTooltip();
17204}
17205
17206// Special button that doesn't take focus, doesn't take input owner, and can be activated without a click etc.
17207// 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