| 17101 | } |
| 17102 | |
| 17103 | void 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. |
nothing calls this directly
no outgoing calls
no test coverage detected