Re: venkman profiling - code coverage?
James Ross <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > I've seen the execution time profiling in Venkman, but is there any way > to use Venkman for code coverage statistics? Or will it be implemented > in the future? Or is it easy to add using the existing APIs? All profiling is done at the function-call level, so it does provide code coverage for functions, but you cannot get coverage for each line or execution block. Technically, the JSD API already has enough to do it per-line - you'd just single-step the code repeatedly rather than just waiting for a function call or return. I think it'd really hurt performance, though, so it would definitely need to be an extra/separate option. I don't know of any plans to add it, however. -- James Ross <[email protected]> ChatZilla Developer