Open robin-aws opened 2 years ago
Could you elaborate on what (2) means? Suppose you generate C# from Dafny, then I don't see an external metadata mapping to generate. I'd think that you can't generate C# and a .pdb file, since the .pdb file only maps CIL back to source code.
I think the solution for providing Dafny debugging is to have a proxy debug server that wraps around the target language debug server and transforms each request using a source map generated by the Dafny compiler, that map the generated target language code back to the original Dafny program.
Several different options here: