Skip to content

Debug tools: New "Debug Log" window, ShowDebugLogWindow() #5855

Closed

Description

@ocornut

This was technically added in 1.88 (see 1.88 release notes).
But since I made some extra improvements to it since I'm making the post now.

ShowDebugLogWindow() is also accessible via Demo->Tools->Debug Log or Metrics->Tools->Debug Log.

image

It has options to enable logging of variety of events.
Useful e.g.:

  • You have issue with focus or active id being taken away.
  • You have issue with popup closing.
  • You have issue with windows being undocked.
  • You want to visualize submitted input events.
  • You want to visualize clipper steps etc.
  • etc.

image

From today a new functionally was added to it and to many places in the Metrics windows: if you hover an ImGuiID identifier (formatted as 0xXXXXXXXX) it will automatically to visually locate the item if the item still exists:

image

Also see wiki page for more tools:
https://github.com/ocornut/imgui/wiki/Debug-Tools

Activity

  1. ocornut commented on Sep 11, 2023

    @ocornut
    OwnerAuthor

    Closing this as all the info has been transitioned to the Wiki:
    https://github.com/ocornut/imgui/wiki/Debug-Tools

  2. added a commit that references this issue on Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址