|Eclipse, CDT, Cygwin: GCov panel shows zero values [message #792101]
||Mon, 06 February 2012 16:05
| Hans Meiser
Registered: February 2012
I use Eclipse Indigo on Windows, together with CDT 8.0, Cygwin 1.7.10-1 and Linux Tools labeled
GCov Integration (Incubation) 0.6.0.201201190007 org.eclipse.linuxtools.gcov.feature.group Eclipse Linux Tools
I use a very simple example to try out the features of the GCov plug-in:
int main (void)
for (i = 1; i < 10; i++)
if (i % 3 == 0)
printf ("%d is divisible by 3\n", i);
if (i % 11 == 0)
printf ("%d is divisible by 11\n", i);
I compiled this code both with the --coverage or -fprofile-arcs -ftest-coverage options. Then I double-clicked on the gcno/gcda file and the GCov dialog opens up. I enter the correct path to the executable and select 'Show coverage details for ... only'. A nicely color coded editor window is presented as expected.
When I use the default setting however (Show coverage for the whole selected binary file), only zero values are shown.
Is this a bug or is it a feature? Do I do something wrong?
(Size: 20.78KB, Downloaded 2752 times)
(Size: 17.70KB, Downloaded 2324 times)
[Updated on: Mon, 06 February 2012 16:23]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02173 seconds