gcov shows red even though debugger is reaching this particular statement [message #1701866] |
Thu, 16 July 2015 06:14  |
Eclipse User |
|
|
|
Hi,
My Eclipse IDE contains Eclipse Kepler version, MinGW compiler, binutils-2.25, GDB.
If you see the screenshot1, gcov hits are 0 at line no. 634, but line 636 has 16 hits.
Line 636 can have "n" no. of hits only when line 634 is executed.

As a proof you see in the Screenshot2 that line 32 is been called 16 times only from the function that is showing a red line at 634.

Is it bug in gcov?
If not how to interpret this red line?
I came across a case, where one of the statement in my C code was red and debugger was not able to reach, which a developer can come to conclusion that
there something logically wrong with the code.
But in this case where Debugger is able to reach this line 634 but still shown red by gcov tool, how to interpret this? As a proof Screenshot3 is been attached.

Any help would be greatly appreciable!
Regards,
Rashmi Thimmaiah
|
|
|
|
Powered by
FUDForum. Page generated in 0.05616 seconds