Quantcast
Channel: opencppcoverage Discussions Rss Feed
Viewing all articles
Browse latest Browse all 235

New Post: The logic in CodeCoverageRunner::OnNewLine(...)

$
0
0
Hi,

I am sorry for my late answer.
I wrote a draft several weeks ago and believed I already answered your question.

Here is how CodeCoverageRunner::OnNewLine works:
  • We always set a breakpoint (SetBreakPointAt)
  • If we previously set a breakpoint at this instruction (RegisterAddress return false)
  • We rollback to the previous state (RemoveBreakPoint).
RegisterAddress returns false only if we already register the address (If we can find the address inside ExecutedAddressManager::addressLineMap_)

I hope it will help,

OpenCppCoverage

Viewing all articles
Browse latest Browse all 235

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>