• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using gcov
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using gcov


  • Subject: Re: Using gcov
  • From: Eeyore <email@hidden>
  • Date: Tue, 4 May 2010 11:26:51 -0700

gcno files are used to link the executable code to the source code. You are more interested in gcda files (which are the coverage data) and even more in the gcov files. The gcov files are created by gcov and annotate your source files indicating how frequently the lines were run.

Aaron

On May 4, 2010, at 11:13 AM, email@hidden wrote:

> On May 4, 2010 12:52pm, Fritz Anderson <email@hidden> wrote:
> > On 3 May 2010, at 4:49 PM, Lorenzo Thurman wrote:
> >
> >
> >
> > > They don't open in BBEdit.
> >
> >
> >
> > How do you mean that? Is the file nonsense when you examine it in BBEdit, or are you just unable to get BBEdit to open it?
> >
> >
> >
> > As near as I can tell from the gcov man page, .gcov files contain text. However, BBEdit's open-file dialog normally suppresses files it isn't sure contain text. In the current version, you can tell it to consider everything by selecting Everything from the Enable: pop-up in the open-file dialog. I've also found that simply dragging a file onto BBEdit's icon (in the Finder or in the Dock) will open anything.
> >
> >
> >
> >        — F
> >
> >
> >
>
> I've tried opening the gnerated files with BBEdit, but the contents doesn't really appear to be read by humans. Here is some of the content of one of the *.gcno files:
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Re: Using gcov
      • From: email@hidden
References: 
 >Re: Re: Using gcov (From: email@hidden)

  • Prev by Date: Re: Re: Using gcov
  • Next by Date: Re: Re: Using gcov
  • Previous by thread: Re: Re: Using gcov
  • Next by thread: Re: Re: Using gcov
  • Index(es):
    • Date
    • Thread