Debugging with dape and netcoredbg, and the compiler's new options

emacs/bjolang-dape.el adds a dape configuration that builds the current
file with -d and runs it under netcoredbg, launching dotnet with the
program, which is a managed assembly rather than a native host. The
README says what a debugger shows today.

The check builds its options from Build.dependencyOptions, now that the
compiler's options have grown the dump flags.

🤖 Generated with [ECA](https://eca.dev)

Co-Authored-By: eca-agent <git@eca.dev>
This commit is contained in:
Linus Björnstam 2026-10-16 09:35:25 +02:00
parent c6f357c6f8
commit 77b8a92e03
3 changed files with 77 additions and 6 deletions

View file

@ -98,12 +98,7 @@ let private found (file: string) (d: Diagnostics.Diagnostic) : Found =
IsError = isError
Message = d.Message + where }
let private options: Build.Options =
{ IsLibrary = false
Debug = false
Runtime = []
EmitCs = None
Check = true }
let private options: Build.Options = { Build.dependencyOptions with IsLibrary = false; Check = true }
/// Checks `file` as `bjolang --check` does, reading every file in `buffers`,
/// by full path, from there rather than from disk: the editor's unsaved text,