Updated Debug Tools (markdown)

omar 2024-05-06 12:17:42 +02:00
parent a65782af0d
commit c3fdcbbcd1

@ -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)