zero9178 / C-Cpp-Coverage-for-CLion

Get coverage data in CLion using gcov or llvm-cov
MIT License
38 stars 2 forks source link

[1.1.3] String index out of range: -1 #7

Closed codewerfer closed 5 years ago

codewerfer commented 5 years ago

Hi, I got following exception report:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1967)
    at gcov.data.CoverageThread.parseGCov(CoverageThread.kt:97)
    at gcov.data.CoverageThread.run(CoverageThread.kt:191)