We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a6e8a commit 75f99a7Copy full SHA for 75f99a7
src/xrUICore/ui_debug.cpp
@@ -170,8 +170,18 @@ void CUIDebugger::on_tool_frame()
170
}
171
ImGui::TableNextColumn();
172
if (m_state.selected)
173
- m_state.selected->FillDebugInfo();
+ {
174
+ const bool debug = xrDebug::DebuggerIsPresent();
175
+ if (ImGui::Button("Debug break at element"))
176
177
+ if (debug)
178
+ DEBUG_BREAK;
179
+ }
180
+ if (!debug)
181
+ ImGui::SetItemTooltip("No debugger attached to the process");
182
183
+ m_state.selected->FillDebugInfo();
184
185
ImGui::EndTable();
186
187
0 commit comments