Add support of Kotlin's SourceDebugExtension by jpbempel · Pull Request #10448 · DataDog/dd-trace-java
In Kotlin some constructions remap source line beyond of the end of file (ex: stream operations, ...) which leads to incorrect line numbering in SymDB. The Kotlin classfiles contains information about this line remapping using the SourceDebugExtension (JSR-45). We are leveraging this extension to remap correctly the line numbers and send corrected lines to SymDB. We are introducing a SourceRemapper interface with one implementation for Kotlin for now, but keeping open door for other languages like Scala.
jpbempel
deleted the
jpbempel/add-kotlin-source-debug-ext
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters