enlight / dbgmits

NodeJS module that provides the ability to control GDB and LLDB debuggers via GDB/MI.
MIT License
6 stars 3 forks source link

Tests fail on LLDB #35

Open enlight opened 8 years ago

enlight commented 8 years ago

Tests run as expected on GDB, however on LLDB or rather LLDB-MI (built from master on 9-Sep-2015) most fail. The failure is the same for every test, Node throws the error EPIPE / Uncaught Error: This socket has been ended by the other party. This happens as soon as dbgmits tries to send a command to the stdin of the child process (lldb-mi in this case). I've tried introducing a 500ms delay before sending the first command just in case the child process was slow to startup, but that didn't help. It seems like the lldb-mi closes the stdin stream prematurely.

I should try a newer build before running lldb-mi through a debugger.