svaante / dape

Debug Adapter Protocol for Emacs
GNU General Public License v3.0
477 stars 31 forks source link

Lots of "event ignored due to request n < last handled seq n" #43

Closed timcharper closed 10 months ago

timcharper commented 10 months ago

Overview

image

I've getting a ton of these errors in the dape-debug buffer, and I'm not entirely sure why. The debugger appears to work, mostly, except the process output gets truncated if it dies due to an error.

Are these just expected?

Environment

$ cat /proc/sys/fs/pipe-max-size
1048576
timcharper commented 10 months ago

Changing from :console "internalConsole" to :console "integratedTerminal" helps. I thought the output was getting truncated, but stdout was getting dropped entirely, and using integratedTerminal caused stdout to go to a separate terminal buffer (stderr still goes to the debug repl).

svaante commented 10 months ago

This warning is removed on master but not on elpa. The performance of stdout to the repl is terrible, integratedTerminal should probably be the default for all configurations that support it.

timcharper commented 10 months ago

Ok, the warnings are now gone :) However, internalConsole still does drop stdout, inspite of change 9ecd6ba580ee49ef3804681369f09f7d2e7a9211.