nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.36k stars 3.89k forks source link

DevTools hangs when typing in console on breakpoint with tmux terminal #5503

Closed oaleynik closed 2 years ago

oaleynik commented 7 years ago

Affected NWJS versions: 0.18.8, 0.19.* OS: macOS Sierra 10.12.2 Beta (16C48b)

Steps to reproduce: 1 Open devtools and put breakpoint on any line of any script 2 When breakpoint will be caught - start typing in console

Actual result: Devtools and app itself hangs.

Expected result: It should be possible to use console while debugging.

ghostoy commented 7 years ago

I can't reproduce this issue. Could you post your app?

oaleynik commented 7 years ago

Yep. Archive.zip

Also - short screen recording with the issue. nw-devtools-freeze.mp4.zip

oaleynik commented 7 years ago

@ghostoy after a bit of digging I've found out that this issue happens when nw has been launched from the tmux session. Attaching the screen recording of that.

nw-devtools-freeze.mp4.zip

P.S. tmux has been the reason of failing clipboard operations for me too https://github.com/nwjs/nw.js/issues/5494

oaleynik commented 7 years ago

@ghostoy feel free to close it. Anyway under normal shell NW works as expected.

ghostoy commented 7 years ago

Yeah, I can reproduce it with tmux. And it also hangs Chrome. I believe it's an issue of upstream Chrome with tmux.

ayushmanchhabra commented 2 years ago

https://bugs.chromium.org/p/chromium/issues/detail?id=669388&q=tmux%20devtools&can=1 The upstream bug seems to have been closed. Closing this since no activity on this specific topic.