ocamlearlybird on feat/extension-logging [!?] via 🐫 v4.12.0+domains (4.12.0+domains) took 6s
❯ echo $?
141
It seems like the earlybird side likely hit an unexpected condition and crashed. Perhaps additional Lwt.catch error handling is warranted?
I'm not certain, but I suspect that https://microsoft.github.io/debug-adapter-protocol/specification would send a "Terminated Event", which earlybird should perhaps be receiving to exit gracefully.
I was testing using v4.12.0+domains, which may not be formally supported. i will be trying w/ the vanilla 4.12 compiler to see if it reproduces. nonetheless, ocamlearlybird does compile and run under 4.12+domains,
problem
when starting a debug session against a faulty debugee program,
(incomplete) reproduction
to debug, i edited the extension as follows:
I then ran
serve
locally and started a debug session:The command that connected to the server from VSCode was:
That segfault certainly does not look to be an ocamlearlybird issue, clearly :). It very well be result of me using a new compiler and not waiting for this dependent work completing? Nonetheless, back in the
ocamlearlybird
shell, the proc just crashes, andecho $?
emits:It seems like the earlybird side likely hit an unexpected condition and crashed. Perhaps additional
Lwt.catch
error handling is warranted? I'm not certain, but I suspect that https://microsoft.github.io/debug-adapter-protocol/specification would send a"Terminated Event"
, whichearlybird
should perhaps be receiving to exit gracefully.I was testing using
v4.12.0+domains
, which may not be formally supported. i will be trying w/ the vanilla 4.12 compiler to see if it reproduces. nonetheless,ocamlearlybird
does compile and run under 4.12+domains,