Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Importing Code coverage data from target: (5 Items)
   
Importing Code coverage data from target  
Hi,

I have a standard make project and I built the executable with code coverage in it. I ran this executable on my target 
and was able to see a number of *.da files being created. This should indicate that the code coverage information is 
being captures in the target.

But I have problems while importing this data from the target. As per the instrusction given in http://www.qnx.com/
developers/docs/6.3.2/ide_en/user_guide/coverage.html, I copied the *.da file to a folder and then tried to import GCC 
Code Coverage data. This asks for a Session name and I am not sure how to find out the session name.

Can anybody help me?

Thanks
Sunil
Re: Importing Code coverage data from target  
Hi again,

If this is not the right forum to be asking this question related to code coverage, can anyone suggest another suitable 
forum?

Thanks
Sunil
Re: Importing Code coverage data from target  
Hi, Sunil,

AFAIK, the session name is only something that the IDE wants to display
in the coverage sessions view.  Under normal circumstances, when the IDE
automatically gathers and presents the coverage data, it will generate a
session name based on the executable, date/time, etc.

Just enter some name that describes the session to you and see what
happens.

HTH,

Christian


On Wed, 2009-08-19 at 11:12 -0400, Sunil Keshava wrote:

> Hi,
> 
> I have a standard make project and I built the executable with code coverage in it. I ran this executable on my target
 and was able to see a number of *.da files being created. This should indicate that the code coverage information is 
being captures in the target.
> 
> But I have problems while importing this data from the target. As per the instrusction given in http://www.qnx.com/
developers/docs/6.3.2/ide_en/user_guide/coverage.html, I copied the *.da file to a folder and then tried to import GCC 
Code Coverage data. This asks for a Session name and I am not sure how to find out the session name.
> 
> Can anybody help me?
> 
> Thanks
> Sunil
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post36277
> 


Re: Importing Code coverage data from target  
Thanks Christian, I'll try and see how it goes.
Re: Importing Code coverage data from target  
Yes, the session name is for display purpose only.

If you run your binary from IDE and enable the "Code Coverage" tool in the launch config dialog, IDE will auto-generate 
the session name based  on your project name.