I'd like to profile my code using Code Coverage from within VisualStudio 2008. Unfortunately it does not work, perhaps because it does not work with Qt. Any ideas/suggestions? Here is the output I get when I attempt to run the Code Coverage option from within VS2008.
Cannot open CodeCoverage\C__USERS_MARK.PRESSPRICH_DOCUMENTS_VISUAL STUDIO 2008_PROJECTS_RIGAKUINTEGRATE_RIGAKUINTEGRATE_GENERATEDFILES_RELEASE_MOC_RIGAKUINTEGRATECOMMANDLINE_CPP_SRC.HTML for output!
Progress: 10% .. 20% .. 30% .. 40% .. 50% .. 60% .. 70% .. 80% .. 90% ..
Code Coverage log was saved at "file:\\C:\Users\Mark.Pressprich\Documents\Visual Studio 2008\Projects\RigakuIntegrate\RigakuIntegrate\Release\CCovLog.html"
========== Code Coverage failed ==========
Could you please send me the log file that is been generated "C:\Users\Mark.Pressprich\Documents\Visual Studio 2008\Projects\RigakuIntegrate\RigakuIntegrate\Release\CCovLog.html" ?
Also could you try if the codecov can work fine through command line?
Step 1:- icl /Qprof-gen:srcpos <sources>
Step 2:- Run the instrumented executable
Step 3:- run "profmerge" command
Step 4:- run "codecov" command
We are doing this just to know if there is any issue with the integration.
Sukruth H V