hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en/latest/
MIT License
12.94k stars 676 forks source link

Debug Window broken #2231

Open jhgorse opened 9 months ago

jhgorse commented 9 months ago

Version of Dear PyGui

Version: 1.10.1 Operating System: Windows 10

My Issue/Question

show_debug() shows this window and does not execute commands: image

logger also appears to be gone as well.

To Reproduce

Steps to reproduce the behavior:

  1. run dpg hello world + show_debug()
  2. try any command

Expected behavior

As documented, we expect to see the object tree and some kind of output (previously through logger): https://youtu.be/zcGWJjGSn-w?si=TMXC0NJF3c_dhzQM&t=194

Screenshots/Video

See above.

Standalone, minimal, complete and verifiable example

# Here's some code anyone can copy and paste to reproduce your issue
import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="tutorial"):
    dpg.add_button(label="Press me")

show_debug()

dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
jhgorse commented 9 months ago

Reproduced on macOS.

jhgorse commented 9 months ago

show_imgui_demo() works so it is the logging mechanism which appears to be missing.

jhgorse commented 9 months ago

Found the logger, but it does not output anything when the Debug Window run is clicked. https://github.com/hoffstadt/DearPyGui_Ext/issues/4