hackwaly / ocamlearlybird

OCaml debug adapter
MIT License
208 stars 23 forks source link

Debugger stays active when program is missing #49

Closed sim642 closed 1 year ago

sim642 commented 1 year ago

The only awkward behavior I noticed was that the debugger doesn't terminate if the a.out file (from the default launch configuration) doesn't exist. The integrated terminal will show a missing file error, but the VS Code debugging UI still stays active. I'm not sure there's a way to present an VS Code error in this case, but it might be worth looking into in the future.

Originally posted by @mnxn in https://github.com/ocamllabs/vscode-ocaml-platform/pull/1148#pullrequestreview-1511813096