Skip to content

Mapping each IL instruction to source #5236

@iskiselev

Description

@iskiselev

I'm working on SourceMap support for sq/JSIL#76. It is CIL->JavaScript translator.
We are able read mapping of each statement (line) of source code to IL operator from PDB, but for better user experience it would be good if we have some option to map each IL operator to symbols in source code.
So, in other word I'm looking on something similar to CodeGenerator.EmitSequencePoint after each IL instruction - or create something similar not in PDB, but in some additional file.
Is it possible to implement using existing Roslyn extensions point and where should I start for it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions