Open GoogleCodeExporter opened 9 years ago
Is the path to the source file that you are trying to open correct?
Original comment by dmaclach
on 29 Sep 2013 at 3:15
yes,I realized that the path is not full, which means the path is not start
from root("/"), it's just middle part of the full path. But I don't know how
this happened
Original comment by greenzon...@gmail.com
on 30 Sep 2013 at 7:24
How is it in your project? What is it relative to?
Original comment by dmaclach
on 1 Oct 2013 at 2:32
This the full path of one of the files in my project:
/Users/Shawn/Dev/trunk/iphone/ProjectName/Classes/Controller/OrderConfirmView.m
Cover story read the relative path of this file:
/ProjectName/Classes/Controller/OrderConfirmView.m
That's why it could not open the source file.Is that LLVM compiler issue?(I'm
using llvm 4.2) What I can't understand is some files are open successfully by
cover story, but rest of them showed can not open source file
error.However,for those failed open file,code coverage rate is calculated
already with only "/*EOF*/" shown in code area.
Original comment by greenzon...@gmail.com
on 2 Oct 2013 at 7:08
The key issue is how that file is stored in your project. Is it relative to the
project or what?
Original comment by dmaclach
on 2 Oct 2013 at 11:17
My gcda and gcno files are located in
:/Users/Shawn/Library/Developer/Xcode/DerivedData/ProjectName-gfuobhogueenypdean
kkywdrlxcw/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/ProjectNa
me.build/Objects-normal/i386
Original comment by greenzon...@gmail.com
on 3 Oct 2013 at 6:07
it happen to my project also. I tried re-create test project ,delete the source
file re-add to project , delete the class re-create the class , but coverstory
still report cannot open the source file. while another source in seem
directory is ok.
Original comment by gagehu...@gmail.com
on 9 Dec 2013 at 1:19
i find it depends on the content of the source . when i rem most code of in
source file .m , coverstory could open source and display cover ratio properly.
while some codes (like dispatchasync...) makes it wrong.
Original comment by gagehu...@gmail.com
on 9 Dec 2013 at 9:49
finally , all my code with block , might result in source file can't open by
coverstory.
Original comment by gagehu...@gmail.com
on 10 Dec 2013 at 6:55
Original issue reported on code.google.com by
greenzon...@gmail.com
on 29 Sep 2013 at 9:59