From c3fdcbbcd1cf477cb40a0411d48002f0d953289a Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 6 May 2024 12:17:42 +0200 Subject: [PATCH] Updated Debug Tools (markdown) --- Debug-Tools.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Debug-Tools.md b/Debug-Tools.md index 3b09392..0eea5bb 100644 --- a/Debug-Tools.md +++ b/Debug-Tools.md @@ -15,8 +15,12 @@ https://github.com/ocornut/imgui/issues/2673 +![image](https://github.com/ocornut/imgui/assets/8225057/ef639221-9a3c-42e0-bdd1-c6d35f9606af) + The Item Picker will allow you to pick an item with the mouse and have Dear ImGui break within the call-stack of that item. This is useful if you have large UI / codebase and you would to easily find out where some UI item is emitted. -You can find it in _Metrics>Tools>Item Picker_ or expose it in your own UI by calling `ImGui::DebugStartItemPicker()`.See [#2673](https://github.com/ocornut/imgui/issues/2673) for more details. +You can find it in _Demo>Tools>ItemPicker_* or _Metrics>Tools>Item Picker_ or expose it in your own UI by calling `ImGui::DebugStartItemPicker()`.See [#2673](https://github.com/ocornut/imgui/issues/2673) for more details. + +**(*) The Item Picker shortcut from 'Demo->Tools->Item Picker' is disabled until your code set `io.ConfigDebugIsDebuggerPresent = true`. This is in order to avoid accidental use by non-debugger users. It is always available from Demo->Tools->Metrics regardless of that setting.** ![image](https://github.com/ocornut/imgui/assets/8225057/52707662-37c3-4526-a82a-1f2f1daf25dd)