gdbgui icon indicating copy to clipboard operation
gdbgui copied to clipboard

terminals do not work on windows for gdbgui 0.14+

Open cs01 opened this issue 3 years ago • 3 comments

Describe the bug Python does not support pseudoterminals (for example, import pty on windows fails) on windows.

As of gdbgui v0.14, pty's are used in the backend, and thus cannot support windows in newer versions with pty's until either

  • Python supports ptys on windows (or a 3rd party package is found that does)
  • the gdbgui backend is rewritten in node or rust (not planned)

To Reproduce Steps to reproduce the behavior:

  1. Run gdbgui v0.14+ on windows
  2. Observe error

Expected behavior gdbgui runs normally

Workaround Run on Unix or use gdbgui version 0.13.x or lower.

cs01 avatar Aug 23 '20 01:08 cs01

Created issue in CPython issue tracker https://bugs.python.org/issue41663

cs01 avatar Aug 29 '20 18:08 cs01

This might work with https://pypi.org/project/pywinpty/. Need to investigate.

cs01 avatar Sep 05 '21 06:09 cs01

Another potentially useful project https://pypi.org/project/yawinpty/

cs01 avatar Sep 05 '21 06:09 cs01