UweRaabe / DelphiCodeCoveragePlugin

Delphi Code Coverage Plugin
MIT License
18 stars 5 forks source link

The instrumentation should be reset when the code changes "dramatically" #2

Open luebbe opened 2 years ago

luebbe commented 2 years ago

When the code is reformatted by Ctrl+D or reloaded when changes were detected outside the IDE, the instrumentation breakpoints as well as the coverage information from previous runs are still at their old location and don't match at all anymore.

grafik

UweRaabe commented 2 years ago

While it might be difficult to decide what "dramatically" actually means, it would end up to always remove the results and try to keep the coverage switch based on the class and method name.