【问题标题】:Is there a config to include source files in the debug info?是否有在调试信息中包含源文件的配置?
【发布时间】:2019-06-14 06:52:01
【问题描述】:

目前正试图让MicronautPitest 一起工作,但由于Micronaut 未在输出类的调试信息中包含源文件,导致due to an NPE 失败。

我想知道是否有办法配置 Micronaut 来支持这一点?

Reproducible sample of this issue

【问题讨论】:

    标签: kotlin aop micronaut mutation-testing pitest


    【解决方案1】:

    我想知道是否有办法配置 Micronaut 以支持 这个?

    在当前现有的 Micronaut 版本中,没有。

    有问题的类没有源文件,反正也没有。 Micronaut 中的注释处理器创建类来支持项目中存在源文件的其他类。可以想象,注释处理器可以在生成的 .class 文件中引用原始源文件,但我不确定这样做的含义是什么。欢迎您在https://github.com/micronaut-projects/micronaut-core/issues 提出增强请求。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-15
      • 2021-08-28
      • 2012-01-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多